diff options
author | Alex Dupre <ale@FreeBSD.org> | 2007-09-14 08:43:08 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2007-09-14 08:43:08 +0000 |
commit | 5b792ffa48d6ef875cdcc8e171d5be2ad6835709 (patch) | |
tree | d0b542d1e4dd1c9a20103f4a8a30c2d31c5b1488 /lang/php53 | |
parent | 3de4c7d7991400cff20b779573e64eaa4d5ac0a3 (diff) |
Notes
Diffstat (limited to 'lang/php53')
-rw-r--r-- | lang/php53/Makefile.ext | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index 050feae1faf8..bdb2368337c1 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -86,9 +86,6 @@ USE_OPENSSL= yes LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \ png.5:${PORTSDIR}/graphics/png \ jpeg.9:${PORTSDIR}/graphics/jpeg -. if !defined(WITHOUT_X11) -USE_XORG= xpm -. endif CONFIGURE_ARGS+=--with-gd \ --with-freetype-dir=${LOCALBASE} \ @@ -102,6 +99,9 @@ CONFIGURE_ARGS+=--with-xpm-dir=${X11BASE} OPTIONS= T1LIB "Include T1lib support" on \ TRUETYPE "Enable TrueType string function" on \ JIS "Enable JIS-mapped Japanese font support" off +. if !defined(WITHOUT_X11) +OPTIONS+= XPM "Enable Xpm support" on +. endif PHP_HEADER_DIRS=libgd .endif @@ -560,6 +560,9 @@ CONFIGURE_ARGS+=--enable-gd-native-ttf . if defined(WITH_JIS) CONFIGURE_ARGS+=--enable-gd-jis-conv . endif +. if !defined(WITHOUT_XPM) && !defined(WITHOUT_X11) +USE_XORG= xpm +. endif .endif .if ${PHP_MODNAME} == "mbstring" |