diff options
author | Ryan Steinmetz <zi@FreeBSD.org> | 2011-09-26 01:15:34 +0000 |
---|---|---|
committer | Ryan Steinmetz <zi@FreeBSD.org> | 2011-09-26 01:15:34 +0000 |
commit | ca68688414460ad352a98f2934f7b5d404cce219 (patch) | |
tree | 6fe593555987a3319b91c2bbe10056c171173280 /net/gpxe | |
parent | 1e376a2ca12a92ca302ea46a82ae735617344bc2 (diff) |
Notes
Diffstat (limited to 'net/gpxe')
-rw-r--r-- | net/gpxe/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/net/gpxe/Makefile b/net/gpxe/Makefile index 56df3fd27b11..4b9689b9056d 100644 --- a/net/gpxe/Makefile +++ b/net/gpxe/Makefile @@ -14,17 +14,16 @@ MASTER_SITE_SUBDIR=software/utils/boot/gpxe MAINTAINER= gk.freebsd@googlemail.com COMMENT= Create an open-source PXE implementation and bootloader -BUILD_DEPENDS= syslinux:${PORTSDIR}/sysutils/syslinux - -BROKEN= does not build - LICENSE= GPLv2 +BUILD_DEPENDS= syslinux:${PORTSDIR}/sysutils/syslinux + USE_BZIP2= yes USE_GMAKE= yes USE_CDRTOOLS= yes +USE_PERL5= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src -ONLY_FOR_ARCHS= i386 +MAKE_JOBS_SAFE= yes PLIST_DIRS= %%DATADIR%% PLIST_FILES= %%DATADIR%%/gpxe.dsk \ @@ -33,6 +32,12 @@ PLIST_FILES= %%DATADIR%%/gpxe.dsk \ SUB_FILES= pkg-message +.include <bsd.port.pre.mk> + +.if ${ARCH} == "amd64" +MAKE_ARGS+= ARCH=i386 +.endif + post-patch: @${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/arch/i386/Makefile @@ -45,4 +50,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |