2002-01-31 21:10:31 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2002/02/01 02:10:31 pvalchev Exp $
|
1997-11-18 05:11:05 -05:00
|
|
|
|
2001-03-26 10:58:17 -05:00
|
|
|
COMMENT= "GNU make"
|
2000-07-03 21:55:23 -04:00
|
|
|
DISTNAME= make-3.79.1
|
|
|
|
PKGNAME= gmake-3.79.1
|
1997-11-18 05:11:05 -05:00
|
|
|
CATEGORIES= devel
|
2001-10-11 07:53:57 -04:00
|
|
|
NEED_VERSION= 1.460
|
1999-08-13 01:01:13 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-03-10 12:59:38 -05:00
|
|
|
MASTER_SITE_SUBDIR= make
|
1998-10-08 14:21:00 -04:00
|
|
|
|
2000-07-03 21:55:23 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/make/
|
|
|
|
|
2001-10-11 07:53:57 -04:00
|
|
|
MODULES= gettext
|
2000-07-03 21:55:23 -04:00
|
|
|
|
2000-10-22 10:02:46 -04:00
|
|
|
MAINTAINER= Todd T. Fries <todd@openbsd.org>
|
1999-08-13 01:01:13 -04:00
|
|
|
|
2000-03-06 20:48:06 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
1999-08-13 01:01:13 -04:00
|
|
|
SEPARATE_BUILD= simple
|
2000-06-29 22:10:09 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2000-07-03 21:55:23 -04:00
|
|
|
CONFIGURE_ARGS= --program-prefix="g"
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1997-11-18 05:11:05 -05:00
|
|
|
|
2002-01-31 21:10:31 -05:00
|
|
|
# XXX workaround sparc64 gcc optimization bug where gmake built
|
|
|
|
# with optimization level > 0 would get random sig11's.
|
2002-01-30 14:26:25 -05:00
|
|
|
.if ${MACHINE_ARCH:Msparc64}
|
|
|
|
CFLAGS+= -O0
|
|
|
|
.endif
|
|
|
|
|
1999-12-31 19:42:12 -05:00
|
|
|
post-extract:
|
|
|
|
@rm -f ${WRKSRC}/make.info*
|
|
|
|
|
1997-11-18 05:11:05 -05:00
|
|
|
post-install:
|
1999-12-07 21:38:28 -05:00
|
|
|
@chmod g-s ${PREFIX}/bin/gmake
|
|
|
|
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake
|
1997-11-18 05:11:05 -05:00
|
|
|
|
2001-10-07 08:15:33 -04:00
|
|
|
# XXX This is the ONE case where we shouldn't be able to cheat on
|
|
|
|
# where HOME is coming from, but we can. Looks like gnu-make is bogus...
|
|
|
|
|
|
|
|
REGRESS_FLAGS=HOME=/
|
|
|
|
|
1997-11-18 05:11:05 -05:00
|
|
|
.include <bsd.port.mk>
|