summaryrefslogtreecommitdiffstats
path: root/lang/php4/Makefile.ext
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-04-04 09:20:21 +0000
committerale <ale@FreeBSD.org>2005-04-04 09:20:21 +0000
commit7a5e3427d8df4621680ca2281c4ff6050fb922d8 (patch)
tree1cf01c1bda3ff399f36657a5a216ede4ea26b66c /lang/php4/Makefile.ext
parent058736bf54e3ed37384c675269b65ccf77b48985 (diff)
downloadFreeBSD-ports-7a5e3427d8df4621680ca2281c4ff6050fb922d8.zip
FreeBSD-ports-7a5e3427d8df4621680ca2281c4ff6050fb922d8.tar.gz
Update PHP ports to 4.3.11 and 5.0.4 releases:
- fix security issues - unbreak PEAR packages [1] PR: ports/78516 [1] Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> [1] Tested by: thierry
Diffstat (limited to 'lang/php4/Makefile.ext')
-rw-r--r--lang/php4/Makefile.ext19
1 files changed, 6 insertions, 13 deletions
diff --git a/lang/php4/Makefile.ext b/lang/php4/Makefile.ext
index 499105d..e30e623 100644
--- a/lang/php4/Makefile.ext
+++ b/lang/php4/Makefile.ext
@@ -139,6 +139,12 @@ USE_ICONV= yes
LIB_DEPENDS+= c-client4.8:${PORTSDIR}/mail/cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE}
+.if !defined(WITHOUT_SSL)
+CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
+
+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
+USE_OPENSSL= yes
+.endif
.endif
.if ${PHP_MODNAME} == "interbase"
@@ -429,19 +435,6 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
. endif
.endif
-.if ${PHP_MODNAME} == "imap"
-. if !exists(${LOCALBASE}/lib/libc-client4.so)
-. if !defined(WITHOUT_SSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${LOCALBASE}
-. endif
-. else
-WITH_IMAP_SSL!= /usr/bin/ldd ${LOCALBASE}/lib/libc-client4.so | ${GREP} libssl || ${TRUE}
-. if !empty(WITH_IMAP_SSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${LOCALBASE}
-. endif
-. endif
-.endif
-
.if ${PHP_MODNAME} == "mbstring"
. if defined(WITHOUT_REGEX)
CONFIGURE_ARGS+=--disable-mbregex
OpenPOWER on IntegriCloud