pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php4 Introduce USE_SSL build parameter, that pulls...
details: https://anonhg.NetBSD.org/pkgsrc/rev/01593b463230
branches: trunk
changeset: 473381:01593b463230
user: cube <cube%pkgsrc.org@localhost>
date: Mon Apr 19 13:09:16 2004 +0000
description:
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:
www/php4/Makefile.php | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r eeadd3ea31e7 -r 01593b463230 www/php4/Makefile.php
--- a/www/php4/Makefile.php Mon Apr 19 12:16:08 2004 +0000
+++ b/www/php4/Makefile.php Mon Apr 19 13:09:16 2004 +0000
@@ -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_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
Home |
Main Index |
Thread Index |
Old Index