summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authoradrianp <adrianp>2008-08-08 20:01:34 +0000
committeradrianp <adrianp>2008-08-08 20:01:34 +0000
commit7fde12c615ebad7c7d12cde3689a02fd0377ed29 (patch)
treec54c18699fb65f2dade08a2ef36c5bd3d969a7f1 /lang/php5
parente7edb31816f01e3046671134a617e7f8adc505e6 (diff)
downloadpkgsrc-7fde12c615ebad7c7d12cde3689a02fd0377ed29.tar.gz
Add maintainer-zts option
Suggested by riz@ in PR 39312
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/Makefile.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 8b0b40a8030..53defd1c0bf 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.27 2008/07/08 20:28:55 adrianp Exp $
+# $NetBSD: Makefile.php,v 1.28 2008/08/08 20:01:34 adrianp Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -41,7 +41,7 @@ CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX:Q}
# Note: This expression is the same as ${PKGBASE}, but the latter is
# not defined yet, so we cannot use it here.
PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//}
-PKG_SUPPORTED_OPTIONS+= inet6 ssl
+PKG_SUPPORTED_OPTIONS+= inet6 ssl maintainer-zts
PKG_SUGGESTED_OPTIONS+= ssl
.include "../../mk/bsd.options.mk"
@@ -58,3 +58,7 @@ CONFIGURE_ARGS+= --with-openssl=${BUILDLINK_PREFIX.openssl}
.else
CONFIGURE_ARGS+= --without-openssl
.endif
+
+.if !empty(PKG_OPTIONS:Mmaintainer-zts)
+CONFIGURE_ARGS+= --enable-maintainer-zts
+.endif