diff options
Diffstat (limited to 'lang/php5/Makefile.ext')
-rw-r--r-- | lang/php5/Makefile.ext | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index 20e4241ddf2d..a17595bec209 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -133,6 +133,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" @@ -441,19 +447,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 |