summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-01-17 15:08:30 +0000
committerale <ale@FreeBSD.org>2006-01-17 15:08:30 +0000
commit53d3cc9b09795d7c13cab9c3fd83e83e2ff1c4bd (patch)
tree4bd5b6a6cf84b3e436415bcadc2c862d19cbb528 /lang
parentfc2dcc249b807fc27c4860b5556031f77ebfaf88 (diff)
downloadFreeBSD-ports-53d3cc9b09795d7c13cab9c3fd83e83e2ff1c4bd.zip
FreeBSD-ports-53d3cc9b09795d7c13cab9c3fd83e83e2ff1c4bd.tar.gz
Speed up the build of PHP extensions by extracting only the extension subdir
from the big tarball.
Diffstat (limited to 'lang')
-rw-r--r--lang/php4/Makefile.ext5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext
index b614022..41b8da4 100644
--- a/lang/php4/Makefile.ext
+++ b/lang/php4/Makefile.ext
@@ -6,10 +6,13 @@ PHP_MODNAME= ${PKGNAMESUFFIX:S/-//}
DEFAULT_PHP_VER=4
BROKEN_WITH_PHP=5
-WRKSRC= ${WRKDIR}/php-${PORTVERSION:S/.r/RC/}/ext/${PHP_MODNAME}
+EXTSUBDIR= ${DISTNAME}/ext/${PHP_MODNAME}
+WRKSRC= ${WRKDIR}/${EXTSUBDIR}
PATCHDIR= ${.CURDIR}/files
PLIST= ${NONEXISTENT}
+EXTRACT_AFTER_ARGS?= | ${TAR} -xf - ${EXTSUBDIR}
+
.if ${PHP_MODNAME} == "bcmath"
CONFIGURE_ARGS+=--enable-bcmath
OpenPOWER on IntegriCloud