From db95a752bd443f1bb0613bd4fe9f49d5b8046a1f Mon Sep 17 00:00:00 2001 From: zi Date: Mon, 26 Sep 2011 01:15:34 +0000 Subject: - Fix build under amd64 [1] - Add missing USE_PERL5 to fix build - Mark port MAKE_JOBS_SAFE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: ports/160734 Submitted by: Gürkan Karaman (maintainer) [1] --- net/gpxe/Makefile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'net') 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 + +.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 +.include -- cgit