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 | 34eae528b3e93d826c3f86c880e53051aa6ec8de (patch) | |
tree | 3365f5186034afe728535457ead24076ad153470 /www/php4 | |
parent | 4e6fbca66c70edb4d8b65ce46827cc4402af3728 (diff) | |
download | pkgsrc-34eae528b3e93d826c3f86c880e53051aa6ec8de.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/php4')
-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 |