summaryrefslogtreecommitdiff
path: root/security/php-openssl
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 21:07:13 +0000
commit49e9ef7f781dc0f511e367dcdf4f2798c1b025ed (patch)
tree43db2985256b44525aca65ddff538530e5c2c223 /security/php-openssl
parent52c19805011b2d8d525f4d2a6c01cf961940d9aa (diff)
downloadpkgsrc-49e9ef7f781dc0f511e367dcdf4f2798c1b025ed.tar.gz
extension modules must be able to override CONFIGURE_ARGS, so include
lang/php/ext.mk before setting CONFIGURE_ARGS
Diffstat (limited to 'security/php-openssl')
-rw-r--r--security/php-openssl/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/security/php-openssl/Makefile b/security/php-openssl/Makefile
index 309fe65aab6..da204435814 100644
--- a/security/php-openssl/Makefile
+++ b/security/php-openssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2004/10/31 21:07:14 jdolecek Exp $
MODNAME= openssl
CATEGORIES+= security
@@ -7,6 +7,8 @@ COMMENT= PHP extension for the OpenSSL library
USE_BUILDLINK3= YES
+.include "../../lang/php/ext.mk"
+
CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.openssl}
# the config test for -lssl fails to link in -lcrypto; just force it
@@ -16,6 +18,5 @@ CONFIGURE_ENV+= ac_cv_lib_ssl_SSL_CTX_set_ssl_version=yes
post-extract:
cd ${WRKSRC} && ln -s config0.m4 config.m4
-.include "../../lang/php/ext.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"