From owner-freebsd-ports-bugs@freebsd.org Wed Jun 7 10:33:59 2017 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84880C090C5 for ; Wed, 7 Jun 2017 10:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7132E6E936 for ; Wed, 7 Jun 2017 10:33:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v57AXwwR084898 for ; Wed, 7 Jun 2017 10:33:59 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Wed, 07 Jun 2017 10:33:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: i.dani@outlook.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: tz@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2017 10:33:59 -0000 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.=