summaryrefslogtreecommitdiff
path: root/lang/php5/Makefile.php
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-10-19 18:05:06 +0000
committertv <tv@pkgsrc.org>2005-10-19 18:05:06 +0000
commita0109ad7f7a5a2bb93beadcf3609219570ddf94d (patch)
treee1d3be799e67a9f2fb6ac78d9aef7014fed55fda /lang/php5/Makefile.php
parent2df5c021a78f78e0e5ea6789152b5402ad84b6f2 (diff)
downloadpkgsrc-a0109ad7f7a5a2bb93beadcf3609219570ddf94d.tar.gz
Bring back the "ssl" option so that the builder may have the *option* to
turn it off. It's still on by default (in PKG_SUGGESTED_OPTIONS), so no PKGREVISION bump required.
Diffstat (limited to 'lang/php5/Makefile.php')
-rw-r--r--lang/php5/Makefile.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/lang/php5/Makefile.php b/lang/php5/Makefile.php
index 04c431d0be9..3ce1fccaf89 100644
--- a/lang/php5/Makefile.php
+++ b/lang/php5/Makefile.php
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.php,v 1.10 2005/10/16 12:06:05 jdolecek Exp $
+# $NetBSD: Makefile.php,v 1.11 2005/10/19 18:11:26 tv Exp $
#
.include "../../lang/php5/Makefile.common"
@@ -40,11 +40,9 @@ CONFIGURE_ARGS+= --enable-xml
CONFIGURE_ARGS+= --with-libxml-dir=${PREFIX}
.include "../../textproc/libxml2/buildlink3.mk"
-CONFIGURE_ARGS+= --with-openssl
-.include "../../security/openssl/buildlink3.mk"
-
PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[^-]*$//}
-PKG_SUPPORTED_OPTIONS+= inet6
+PKG_SUPPORTED_OPTIONS+= inet6 ssl
+PKG_SUGGESTED_OPTIONS+= ssl
.include "../../mk/bsd.options.mk"
@@ -53,3 +51,10 @@ CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
+
+.if !empty(PKG_OPTIONS:Mssl)
+. include "../../security/openssl/buildlink3.mk"
+CONFIGURE_ARGS+= --with-openssl
+.else
+CONFIGURE_ARGS+= --without-openssl
+.endif