Date: Wed, 07 Jun 2017 10:33:58 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 219837] lang/php71: Remove unsupported options and add new option for webp Message-ID: <bug-219837-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219837 Bug ID: 219837 Summary: lang/php71: Remove unsupported options and add new option for webp Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: tz@freebsd.org Reporter: i.dani@outlook.com Flags: maintainer-feedback?(tz@freebsd.org) Assignee: tz@freebsd.org Created attachment 183285 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183285&action= =3Dedit Remove unsupported options and add new option for webp As of PHP version 7.x, they removed support for the config-options T1LIB and VPX for the php7x-gd port/extension. In the same step they added webp-suppo= rt, as successor for VPX. See: http://php.net/manual/en/image.installation.php For this reason the Makefile.ext has to be patched and lang/php71 or just t= he graphics/php71-gd port has to be bumped. Thanks for taking a look at it. Bevor fixing the Makefile.ext the build log said the following: ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for php71-gd-7= .1.5: T1LIB=3Don: Include T1lib support TRUETYPE=3Don: Enable TrueType string function JIS=3Doff: Enable JIS-mapped Japanese font support X11=3Doff: Enable XPM support VPX=3Don: Enable VP8 codec support --CONFIGURE_ARGS-- --with-gd --with-freetype-dir=3D/usr/local --with-jpeg-dir=3D/usr/local=20 --with-png-dir=3D/usr/local --with-zlib-dir=3D/usr --with-php-config=3D/usr/local/php71/bin/php-config --with-t1lib=3D/usr/loc= al --enable-gd-native-ttf --with-vpx-dir=3D/usr/local --prefix=3D/usr/local/ph= p71 ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- =3D=3D=3D> Configuring for php71-gd-7.1.5 configure: WARNING: unrecognized options: --with-t1lib, --with-vpx-dir ------------------------------------------------------------- After adding the patch, everything builds&works fine. pkg info: php71-gd-7.1.5 Name : php71-gd Version : 7.1.5 Installed on : Wed Jun 7 11:44:23 2017 CEST Origin : graphics/php71-gd Architecture : FreeBSD:10:amd64 Prefix : /usr/local/php71 Categories : graphics Licenses : PHP301 Maintainer : tz@FreeBSD.org WWW : http://www.php.net/ Comment : The gd shared extension for php Options : JIS : off TRUETYPE : on WEBP : on X11 : off Shared Libs required: libfreetype.so.6 libwebp.so.7 libpng16.so.16 libjpeg.so.8 phpinfo: GD Support enabled GD Version bundled (2.1.0 compatible) FreeType Support enabled FreeType Linkage with freetype FreeType Version 2.8.0 GIF Read Support enabled GIF Create Support enabled JPEG Support enabled libJPEG Version 8 PNG Support enabled libPNG Version 1.6.29+apng WBMP Support enabled XBM Support enabled WebP Support enabled --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219837-13>