Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2017 09:43:52 +0000 (UTC)
From:      Torsten Zuehlsdorff <tz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r442977 - in head: graphics/php70-gd lang/php70
Message-ID:  <201706090943.v599hqG4097190@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tz
Date: Fri Jun  9 09:43:51 2017
New Revision: 442977
URL: https://svnweb.freebsd.org/changeset/ports/442977

Log:
  graphics/php70-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 <i.dani@outlook.com>

Modified:
  head/graphics/php70-gd/Makefile
  head/lang/php70/Makefile.ext

Modified: head/graphics/php70-gd/Makefile
==============================================================================
--- head/graphics/php70-gd/Makefile	Fri Jun  9 09:29:16 2017	(r442976)
+++ head/graphics/php70-gd/Makefile	Fri Jun  9 09:43:51 2017	(r442977)
@@ -5,6 +5,8 @@ CATEGORIES=	graphics
 
 MASTERDIR=	${.CURDIR}/../../lang/php70
 
+PORTREVISION=	1
+
 PKGNAMESUFFIX=	-gd
 
 .include "${MASTERDIR}/Makefile"

Modified: head/lang/php70/Makefile.ext
==============================================================================
--- head/lang/php70/Makefile.ext	Fri Jun  9 09:29:16 2017	(r442976)
+++ head/lang/php70/Makefile.ext	Fri Jun  9 09:43:51 2017	(r442977)
@@ -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,26 +504,21 @@ USES+=	mysql
 .include <bsd.port.pre.mk>
 
 .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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706090943.v599hqG4097190>