From e9880ccd763c9105f63a8da5896f30137bdd2cfa Mon Sep 17 00:00:00 2001 From: tz Date: Fri, 9 Jun 2017 09:44:33 +0000 Subject: graphics/php71-gd: remove options T1LIB and VPX, add option WEBP Support for T1LIB and VPX was removed in PHP 7.0 Support for WebP support was added in PHP 7.0 PR: 219837 Submitted by: Dani --- lang/php71/Makefile.ext | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'lang/php71') diff --git a/lang/php71/Makefile.ext b/lang/php71/Makefile.ext index b4ffaee45333..39c9ab4c0c4d 100644 --- a/lang/php71/Makefile.ext +++ b/lang/php71/Makefile.ext @@ -100,14 +100,13 @@ CONFIGURE_ARGS+=--with-gd \ --with-png-dir=${LOCALBASE} \ --with-zlib-dir=/usr -OPTIONS_DEFINE= T1LIB TRUETYPE JIS X11 VPX -OPTIONS_DEFAULT=T1LIB TRUETYPE X11 +OPTIONS_DEFINE=TRUETYPE JIS WEBP X11 +OPTIONS_DEFAULT=TRUETYPE X11 -T1LIB_DESC= Include T1lib support TRUETYPE_DESC= Enable TrueType string function JIS_DESC= Enable JIS-mapped Japanese font support +WEBP_DESC= Enable WebP image format support X11_DESC= Enable XPM support -VPX_DESC= Enable VP8 codec support PHP_HEADER_DIRS=libgd .endif @@ -505,27 +504,22 @@ USES+= mysql .include .if ${PHP_MODNAME} == "gd" -. if ${PORT_OPTIONS:MT1LIB} -LIB_DEPENDS+= libt1.so:devel/t1lib - -CONFIGURE_ARGS+=--with-t1lib=${LOCALBASE} -. endif . if ${PORT_OPTIONS:MTRUETYPE} CONFIGURE_ARGS+=--enable-gd-native-ttf . endif . if ${PORT_OPTIONS:MJIS} CONFIGURE_ARGS+=--enable-gd-jis-conv . endif +. if ${PORT_OPTIONS:MWEBP} +LIB_DEPENDS+= libwebp.so:graphics/webp + +CONFIGURE_ARGS+=--with-webp-dir=${LOCALBASE} +. endif . if ${PORT_OPTIONS:MX11} USE_XORG= xpm CONFIGURE_ARGS+=--with-xpm-dir=${LOCALBASE} . endif -. if ${PORT_OPTIONS:MVPX} -LIB_DEPENDS+= libvpx.so:multimedia/libvpx - -CONFIGURE_ARGS+=--with-vpx-dir=${LOCALBASE} -. endif .endif .if ${PHP_MODNAME} == "imap" -- cgit