48 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.28 2003/09/22 23:13:31 pvalchev Exp $
1997-11-18 10:11:05 +00:00
2001-03-26 15:58:17 +00:00
COMMENT= "GNU make"
2002-10-04 18:06:28 +00:00
DISTNAME= make-3.80
PKGNAME= g${DISTNAME}
1997-11-18 10:11:05 +00:00
CATEGORIES= devel
2002-05-13 18:50:36 +00:00
MASTER_SITES= ${MASTER_SITE_GNU:=make/}
1998-10-08 18:21:00 +00:00
2000-07-04 01:55:23 +00:00
HOMEPAGE= http://www.gnu.org/software/make/
2001-10-11 11:53:57 +00:00
MODULES= gettext
2000-07-04 01:55:23 +00:00
2000-10-22 14:02:46 +00:00
MAINTAINER= Todd T. Fries <todd@openbsd.org>
1999-08-13 05:01:13 +00:00
2000-03-07 01:48:06 +00:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 08:02:07 +00:00
1999-08-13 05:01:13 +00:00
SEPARATE_BUILD= simple
CONFIGURE_STYLE= gnu
2000-07-04 01:55:23 +00:00
CONFIGURE_ARGS= --program-prefix="g"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
2002-10-04 18:06:28 +00:00
LDFLAGS="-L${LOCALBASE}/lib" \
MAKEINFO="makeinfo --no-split"
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/config
1997-11-18 10:11:05 +00: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
2000-01-01 00:42:12 +00:00
post-extract:
2002-10-04 18:06:28 +00:00
@rm -f ${WRKSRC}/doc/make.info*
2000-01-01 00:42:12 +00:00
1997-11-18 10:11:05 +00:00
post-install:
2002-10-04 18:06:28 +00:00
@chmod ${BINMODE} ${PREFIX}/bin/gmake
@chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake
1997-11-18 10:11:05 +00:00
2001-10-07 12:15:33 +00: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 10:11:05 +00:00
.include <bsd.port.mk>