diff options
author | cube <cube> | 2004-04-19 13:09:16 +0000 |
---|---|---|
committer | cube <cube> | 2004-04-19 13:09:16 +0000 |
commit | 4fdc3bdf85e2756d6706b230e7598a462f75611f (patch) | |
tree | 3365f5186034afe728535457ead24076ad153470 /www | |
parent | 48ad4be4398e67f63a5b8364da85bfe180dc366e (diff) | |
download | pkgsrc-4fdc3bdf85e2756d6706b230e7598a462f75611f.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 |