From 4cd8672cf94c8c1bf8abf774dd1aa904a1deb04a Mon Sep 17 00:00:00 2001 From: Chris Rees Date: Mon, 28 Nov 2011 20:23:10 +0000 Subject: [PATCH] Fake fstab for compile stage, fixing build on package cluster. PR: ports/160666 Approved by: pirzyk (maintainer) Feature safe: yes --- sysutils/p5-Sys-Filesystem/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sysutils/p5-Sys-Filesystem/Makefile b/sysutils/p5-Sys-Filesystem/Makefile index 4a62552421e1..c82155ad5960 100644 --- a/sysutils/p5-Sys-Filesystem/Makefile +++ b/sysutils/p5-Sys-Filesystem/Makefile @@ -16,7 +16,7 @@ MAINTAINER= pirzyk@FreeBSD.org COMMENT= Perl module to Retrieve list of filesystems and their properties RUN_DEPENDS= p5-Params-Util>=1.0:${PORTSDIR}/devel/p5-Params-Util -BUILD_DEPENDS= ${RUN_DEPENDS} +BUILD_DEPENDS:= ${RUN_DEPENDS} PERL_MODBUILD= yes @@ -33,10 +33,9 @@ MAN3= Sys::Filesystem::Mswin32.3 \ Sys::Filesystem::Hpux.3 \ Sys::Filesystem::Netbsd.3 -.include +CONFIGURE_ENV+= PATH_FSTAB=${WRKDIR}/fstab.phony -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64" -MANUAL_PACKAGE_BUILD= accesses /etc/fstab during configure phase -.endif +pre-configure: + @${TOUCH} ${WRKDIR}/fstab.phony -.include +.include