diff options
| author | Alex Dupre <ale@FreeBSD.org> | 2006-01-17 15:08:30 +0000 |
|---|---|---|
| committer | Alex Dupre <ale@FreeBSD.org> | 2006-01-17 15:08:30 +0000 |
| commit | fb7d8fa326ca44a0df3275556e5c8a11ce33a0b9 (patch) | |
| tree | a5c5404af25f398e78bdebe7f8f8050b182212c2 | |
| parent | Removed not needed distinfo and add empty MASTERSITES and DISTFILES for fix p... (diff) | |
Speed up the build of PHP extensions by extracting only the extension subdir
from the big tarball.
| -rw-r--r-- | lang/php4/Makefile.ext | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext index b614022741c3..41b8da46c5b3 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 |
