diff options
author | cube <cube@pkgsrc.org> | 2004-04-19 13:09:16 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-04-19 13:09:16 +0000 |
commit | 0db921560991d7400ab840660e4614a4017432d9 (patch) | |
tree | 3365f5186034afe728535457ead24076ad153470 /www | |
parent | 29cef5cc5077841a1f39e11f43cda5e36f37fce9 (diff) | |
download | pkgsrc-0db921560991d7400ab840660e4614a4017432d9.tar.gz |
Introduce USE_SSL build parameter, that pulls in OpenSSL and compiles
support for SSL/TLS connections with PHP. It is necessary to compile SSL
support in PHP to be able to use TLS-enabled sockets. The openssl PHP
module does not include that functionality.
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/Makefile.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/php4/Makefile.php b/www/php4/Makefile.php index 0bf4054e23d..909ea2d3c3f 100644 --- a/www/php4/Makefile.php +++ b/www/php4/Makefile.php @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.php,v 1.10 2003/11/08 06:58:10 jdolecek Exp $ +# $NetBSD: Makefile.php,v 1.11 2004/04/19 13:09:16 cube Exp $ .include "../../www/php4/Makefile.common" @@ -38,3 +38,9 @@ CONFIGURE_ARGS+= ${PHP4_CONFIGURE_ARGS} CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no CONFIGURE_ENV+= EXTENSION_DIR="${PREFIX}/${PHP_EXTENSION_DIR}" + +BUILD_DEFS+= USE_SSL +.if defined(USE_SSL) && !empty(USE_SSL:M[Yy][Ee][Ss]) +PHP5_CONFIGURE_ARGS+= --with-openssl +.include "../../security/openssl/buildlink2.mk" +.endif |