summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2011-11-25 15:50:11 +0000
committerAlex Dupre <ale@FreeBSD.org>2011-11-25 15:50:11 +0000
commitc9a7c3da2dc9730aab5f46fe91837473bc992ac1 (patch)
tree3236a9e506686a277abaaa7ecdda7760cf1ac714 /lang/php5
parentAdd php5-phar extension. (diff)
Add phar support.
Feature safe: yes
Notes
Notes: svn path=/head/; revision=286404
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile.ext8
1 files changed, 8 insertions, 0 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index e57f760adcae..45878e639b21 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -269,6 +269,14 @@ USE_PGSQL= yes
CONFIGURE_ARGS+=--with-pgsql=${LOCALBASE}
.endif
+.if ${PHP_MODNAME} == "phar"
+CONFIGURE_ARGS+=--enable-phar \
+ --with-pcre-dir=${LOCALBASE}
+
+USE_PHP= hash
+USE_PHP_BUILD= yes
+.endif
+
.if ${PHP_MODNAME} == "posix"
CONFIGURE_ARGS+=--enable-posix
.endif