aboutsummaryrefslogtreecommitdiff
path: root/lang/php53/Makefile.ext
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-07-16 17:04:46 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-07-16 17:04:46 +0000
commit7def3a4fe0a314b2d071485f66c5a3f07676e508 (patch)
tree27af5ed438cba220cc34bffd9718e260f2a23c8a /lang/php53/Makefile.ext
parent473f7fc2dc1cba782abaf6af536acb7a7799336e (diff)
downloadports-7def3a4fe0a314b2d071485f66c5a3f07676e508.tar.gz
ports-7def3a4fe0a314b2d071485f66c5a3f07676e508.zip
Notes
Diffstat (limited to 'lang/php53/Makefile.ext')
-rw-r--r--lang/php53/Makefile.ext33
1 files changed, 19 insertions, 14 deletions
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index 3f5488163b0a..08756ecc7a32 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -88,27 +88,20 @@ USE_OPENSSL= yes
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
png15:${PORTSDIR}/graphics/png \
jpeg.11:${PORTSDIR}/graphics/jpeg
-. if !empty(PORT_OPTIONS:MX11)
-USE_XORG= xpm
-. endif
CONFIGURE_ARGS+=--with-gd \
--with-freetype-dir=${LOCALBASE} \
--with-jpeg-dir=${LOCALBASE} \
--with-png-dir=${LOCALBASE} \
--with-zlib-dir=/usr
-. if !empty(PORT_OPTIONS:MX11)
-CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
-. endif
-OPTIONS_DEFINE= T1LIB TRUETYPE JIS
-OPTIONS_DEFAULT= T1LIB TRUETYPE
+OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11
+OPTIONS_DEFAULT= T1LIB TRUETYPE X11
T1LIB_DESC= Include T1lib support
TRUETYPE_DESC= TrueType string function
JIS_DESC= JIS-mapped Japanese font support
-
PHP_HEADER_DIRS=libgd
.endif
@@ -136,17 +129,14 @@ USE_ICONV= yes
.endif
.if ${PHP_MODNAME} == "imap"
+OPTIONS_DEFINE= SSL
+OPTIONS_DEFAULT= SSL
LIB_DEPENDS+= c-client4.9:${PORTSDIR}/mail/cclient
CONFIGURE_ARGS+=--with-imap=${LOCALBASE} \
--with-pcre-dir=${LOCALBASE}
-.if !empty(PORT_OPTIONS:MSSL)
-CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
-
-LDFLAGS+= -L${OPENSSLLIB} -lcrypto -lssl
USE_OPENSSL= yes
.endif
-.endif
.if ${PHP_MODNAME} == "interbase"
CONFIGURE_ARGS+=--with-interbase=${LOCALBASE}
@@ -505,6 +495,14 @@ CONFIGURE_ARGS+=--disable-flatfile
.endif
.if ${PHP_MODNAME} == "gd"
+. if ${PORT_OPTIONS:MX11}
+USE_XORG= xpm
+. endif
+
+. if ${PORT_OPTIONS:MX11}
+CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE}
+. endif
+
. if ${PORT_OPTIONS:MT1LIB}
LIB_DEPENDS+= t1.5:${PORTSDIR}/devel/t1lib
@@ -518,6 +516,13 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
. endif
.endif
+.if ${PHP_MODNAME} == "imap"
+. if ${PORT_OPTIONS:MSSL}
+CONFIGURE_ARGS+=--with-imap-ssl=${OPENSSLBASE}
+LDFLAGS+= -L${OPENSSLLIB} -lcrypto -ssl
+. endif
+.endif
+
.if ${PHP_MODNAME} == "mbstring"
. if ${PORT_OPTIONS:MREGEX}
LIB_DEPENDS+= onig.1:${PORTSDIR}/devel/oniguruma4