Allow to link imap extension with newer panda-cclient library.

PR:		195973
Submitted by:	thierry
This commit is contained in:
Alex Dupre 2015-01-19 10:32:23 +00:00
parent e7e22f7797
commit 02525ad728
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377396
3 changed files with 36 additions and 15 deletions

View File

@ -132,17 +132,16 @@ USES+= iconv:translit
.endif
.if ${PHP_MODNAME} == "imap"
LIB_DEPENDS+= libc-client4.so:${PORTSDIR}/mail/cclient
OPTIONS_DEFINE= PANDA
PANDA_DESC= Uses the forked panda-cclient instead of the original cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-pcre-dir=${LOCALBASE}
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
--with-pcre-dir=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
.endif
.if ${PHP_MODNAME} == "interbase"
CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
@ -524,6 +523,14 @@ CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE}
. endif
.endif
.if ${PHP_MODNAME} == "imap"
. if ${PORT_OPTIONS:MPANDA}
LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient
. else
LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient
. endif
.endif
.if ${PHP_MODNAME} == "mbstring"
. if ${PORT_OPTIONS:MREGEX}
LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma4

View File

@ -132,17 +132,16 @@ USES+= iconv:translit
.endif
.if ${PHP_MODNAME} == "imap"
LIB_DEPENDS+= libc-client4.so:${PORTSDIR}/mail/cclient
OPTIONS_DEFINE= PANDA
PANDA_DESC= Uses the forked panda-cclient instead of the original cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-pcre-dir=${LOCALBASE}
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
--with-pcre-dir=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
.endif
.if ${PHP_MODNAME} == "interbase"
CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
@ -524,6 +523,14 @@ CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE}
. endif
.endif
.if ${PHP_MODNAME} == "imap"
. if ${PORT_OPTIONS:MPANDA}
LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient
. else
LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient
. endif
.endif
.if ${PHP_MODNAME} == "mbstring"
. if ${PORT_OPTIONS:MREGEX}
LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma4

View File

@ -132,17 +132,16 @@ USES+= iconv:translit
.endif
.if ${PHP_MODNAME} == "imap"
LIB_DEPENDS+= libc-client4.so:${PORTSDIR}/mail/cclient
OPTIONS_DEFINE= PANDA
PANDA_DESC= Uses the forked panda-cclient instead of the original cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-pcre-dir=${LOCALBASE}
.if !defined(WITHOUT_SSL)
CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
--with-pcre-dir=${LOCALBASE} \
--with-imap-ssl=${OPENSSLBASE}
LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
.endif
.if ${PHP_MODNAME} == "interbase"
CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
@ -527,6 +526,14 @@ CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE}
. endif
.endif
.if ${PHP_MODNAME} == "imap"
. if ${PORT_OPTIONS:MPANDA}
LIB_DEPENDS+= libc-client4.so.10:${PORTSDIR}/mail/panda-cclient
. else
LIB_DEPENDS+= libc-client4.so.9:${PORTSDIR}/mail/cclient
. endif
.endif
.if ${PHP_MODNAME} == "mbstring"
. if ${PORT_OPTIONS:MREGEX}
LIB_DEPENDS+= libonig.so:${PORTSDIR}/devel/oniguruma4