diff options
author | zi <zi@FreeBSD.org> | 2011-09-26 09:15:34 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2011-09-26 09:15:34 +0800 |
commit | db95a752bd443f1bb0613bd4fe9f49d5b8046a1f (patch) | |
tree | 31ef10be6995e5051f9fceb858c2f783df7d1210 /net | |
parent | f38bc2149cbe53fe27724e8561d5bddf7b27eb77 (diff) | |
download | freebsd-ports-gnome-db95a752bd443f1bb0613bd4fe9f49d5b8046a1f.tar.gz freebsd-ports-gnome-db95a752bd443f1bb0613bd4fe9f49d5b8046a1f.tar.zst freebsd-ports-gnome-db95a752bd443f1bb0613bd4fe9f49d5b8046a1f.zip |
- Fix build under amd64 [1]
- Add missing USE_PERL5 to fix build
- Mark port MAKE_JOBS_SAFE
PR: ports/160734
Submitted by: Gürkan Karaman <gk.freebsd@googlemail.com> (maintainer) [1]
Diffstat (limited to 'net')
-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> |