aboutsummaryrefslogtreecommitdiff
path: root/lang/php5/Makefile.ext
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/Makefile.ext')
-rw-r--r--lang/php5/Makefile.ext6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index b5d56d805179..c30ee22a6b3e 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/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"