From 2265e438583f3942fdf308bc32400289b6e66f2a Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Tue, 17 Jan 2006 13:57:29 +0000 Subject: Speed up the build of PHP extensions by extracting only the extension subdir from the big tarball. Fix xsl extensions that look for files outside its WRKSRC. --- lang/php53/Makefile.ext | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lang/php53') diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index b5d56d805179..c30ee22a6b3e 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -6,10 +6,13 @@ PHP_MODNAME= ${PKGNAMESUFFIX:S/-//} DEFAULT_PHP_VER=5 BROKEN_WITH_PHP=4 -WRKSRC= ${WRKDIR}/php-${PORTVERSION:S/.r/RC/}/ext/${PHP_MODNAME} +PHP_EXTDIR= ${DISTNAME}/ext/${PHP_MODNAME} +WRKSRC= ${WRKDIR}/${PHP_EXTDIR} PATCHDIR= ${.CURDIR}/files PLIST= ${NONEXISTENT} +EXTRACT_AFTER_ARGS?= | ${TAR} -xf - ${PHP_EXTDIR} + .if ${PHP_MODNAME} == "bcmath" CONFIGURE_ARGS+=--enable-bcmath @@ -380,6 +383,7 @@ CONFIGURE_ARGS+=--with-xsl=${LOCALBASE} USE_GNOME= libxslt USE_PHP= dom xml +USE_PHP_BUILD= yes .endif .if ${PHP_MODNAME} == "zlib" -- cgit v1.2.3