# $OpenBSD: Makefile,v 1.26 2002/05/13 18:50:39 espie Exp $ COMMENT= "GNU make" DISTNAME= make-3.79.1 PKGNAME= gmake-3.79.1 CATEGORIES= devel NEED_VERSION= 1.460 MASTER_SITES= ${MASTER_SITE_GNU:=make/} HOMEPAGE= http://www.gnu.org/software/make/ MODULES= gettext MAINTAINER= Todd T. Fries PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes SEPARATE_BUILD= simple CONFIGURE_STYLE= gnu CONFIGURE_ARGS= --program-prefix="g" CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" # 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 post-extract: @rm -f ${WRKSRC}/make.info* post-install: @chmod g-s ${PREFIX}/bin/gmake @chown ${BINOWN}:${BINGRP} ${PREFIX}/bin/gmake # 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=/ .include