summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2008-08-08 20:01:34 +0000
committeradrianp <adrianp@pkgsrc.org>2008-08-08 20:01:34 +0000
commitd72458d4a7d716658b6e819e47e87aac8fffb2f7 (patch)
treec54c18699fb65f2dade08a2ef36c5bd3d969a7f1 /lang
parentcea09e3ae7a7e52d3ac4876831dccb16c37624b8 (diff)
downloadpkgsrc-d72458d4a7d716658b6e819e47e87aac8fffb2f7.tar.gz
Add maintainer-zts option
Suggested by riz@ in PR 39312
Diffstat (limited to 'lang')
-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