openbsd-ports/devel/gmake/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

2002-10-04 14:06:28 -04:00
# $OpenBSD: Makefile,v 1.27 2002/10/04 18:06:28 brad Exp $
1997-11-18 05:11:05 -05:00
2001-03-26 10:58:17 -05:00
COMMENT= "GNU make"
2002-10-04 14:06:28 -04:00
DISTNAME= make-3.80
PKGNAME= g${DISTNAME}
1997-11-18 05:11:05 -05:00
CATEGORIES= devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=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
CONFIGURE_STYLE= gnu
2000-07-03 21:55:23 -04:00
CONFIGURE_ARGS= --program-prefix="g"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2002-10-04 14:06:28 -04:00
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
1997-11-18 05:11:05 -05:00
# XXX workaround sparc64 gcc optimization bug where gmake built
# with optimization level > 0 would get random sig11's.
.if ${MACHINE_ARCH:Msparc64}
CFLAGS+= -O0
.endif
1999-12-31 19:42:12 -05:00
post-extract:
2002-10-04 14:06:28 -04:00
@rm -f ${WRKSRC}/doc/make.info*
1999-12-31 19:42:12 -05:00
1997-11-18 05:11:05 -05:00
post-install:
2002-10-04 14:06:28 -04:00
@chmod ${BINMODE} ${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>