diff options
author | kris <kris@FreeBSD.org> | 2000-02-22 15:26:35 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-02-22 15:26:35 +0800 |
commit | 44c2f43c629b46fec387850ea9df5cc7625cb3f7 (patch) | |
tree | d193fd679bbf2a5eadc595b93b516a22ed61c0b9 /www/mod_php3 | |
parent | a63cbc91927193419992e0a8d7f93b2d2c3458d3 (diff) | |
download | freebsd-ports-gnome-44c2f43c629b46fec387850ea9df5cc7625cb3f7.tar.gz freebsd-ports-gnome-44c2f43c629b46fec387850ea9df5cc7625cb3f7.tar.zst freebsd-ports-gnome-44c2f43c629b46fec387850ea9df5cc7625cb3f7.zip |
USE_OPENSSL
Submitted by: Jim Bloom <bloom@acm.org>
Diffstat (limited to 'www/mod_php3')
-rw-r--r-- | www/mod_php3/Makefile | 6 | ||||
-rw-r--r-- | www/mod_php3/scripts/configure.php | 16 |
2 files changed, 14 insertions, 8 deletions
diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile index af20b972b211..e33a1e782637 100644 --- a/www/mod_php3/Makefile +++ b/www/mod_php3/Makefile @@ -172,4 +172,10 @@ clean: .if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc) .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc" .endif + +# Modssl needs to include bsd.port.pre.mk, so correct for this situation. +.if defined(_PREMKINCLUDED) +.include <bsd.port.post.mk> +.else .include <bsd.port.mk> +.endif diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index 4d1f18be0a18..771882f4285d 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -127,20 +127,20 @@ while [ "$1" ]; do PKGNAME= apache+php+mod_ssl-\${VERSION_APACHE}+\${VERSION_PHP}+\${VERSION_MODSSL} DISTFILES+= mod_ssl-\${VERSION_MODSSL}-\${VERSION_APACHE}\${EXTRACT_SUFX} -BUILD_DEPENDS+= openssl:\${PORTSDIR}/security/openssl \\ - mm-config:\${PORTSDIR}/devel/mm \\ +USE_OPENSSL= RSA + +.include <bsd.port.pre.mk> + +BUILD_DEPENDS+= mm-config:\${PORTSDIR}/devel/mm \\ \${PREFIX}/lib/libmm.a:\${PORTSDIR}/devel/mm -LIB_DEPENDS+= crypto.1:\${PORTSDIR}/security/openssl \\ - ssl.1:\${PORTSDIR}/security/openssl -RUN_DEPENDS+= openssl:\${PORTSDIR}/security/openssl VERSION_MODSSL= 2.5.0 -RESTRICTED= "Contains cryptography" - CONFIGURE_ARGS+=--enable-module=ssl \\ --enable-module=define -CONFIGURE_ENV+= SSL_BASE='SYSTEM' EAPI_MM='SYSTEM' PATH="\${PREFIX}/bin:\${PATH}" +CONFIGURE_ENV+= SSL_BASE='SYSTEM' RSA_BASE='SYSTEM' EAPI_MM='SYSTEM' PATH="\${PREFIX}/bin:\${PATH}" + +EXTRA_PATCHES+= \${PATCHDIR}/ssl_patch-aa PLIST= \${PKGDIR}/PLIST.modssl SSL= ssl |