diff options
| -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 |
