Created attachment 178222 [details] Patch devel/pecl-weakref was updating to version 0.3.3 The Port build only with PHP Version 7 or newer: https://pecl.php.net/package/Weakref I'm not sure if this should be mentioned in UPDATING. Commiter: pls give me a feedback for me text in UPDATING - my english is very bad. Poudriere build fine for: 9.3 amd + i386 10.3 amd + i386 11.0 amd + i386 12-current amd + i386 (r307551) portlint is also fine. Make test is fine, too. Cheers jochen
Hi. I think you should keep 0.2.6 for PHP Version 5.6 and create a new port for 0.3.3 with IGNORE_WITH_PHP = 56 See math/pecl-stats and math/pecl-stats2 for instance, but there are other pecl doing the same.
(In reply to Danilo G. Baio (dbaio) from comment #1) I think, this is the best way. Tanks for the hint. So i will do this ;)
(In reply to Jochen Neumeister from comment #2) Well, see this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212773#c6 https://lists.freebsd.org/pipermail/svn-ports-all/2016-November/137662.html
Created attachment 180908 [details] Patch This port is a copy from devel/pecl-weakref, and use PHP7
Please consider different naming. The suffix "2" seems to be incorrect.
(In reply to Po-Chuan Hsieh from comment #5) a lot of me Ports use this suffix: pear-HTML_QuickForm pear-HTML_QuickForm2 pear-PEAR_PackageFileManager pear-PEAR_PackageFileManager2 pear-channel-symfony pear-channel-symfony2 thx
ping @miwi
A commit references this bug: Author: miwi Date: Sat May 6 04:00:17 UTC 2017 New revision: 440213 URL: https://svnweb.freebsd.org/changeset/ports/440213 Log: - Repocopy from devel/pecl-weakref -> devel/pecl-weakref2 - Update to 0.3.3 for php7 support PR: 215514 Submitted by: maintainer Changes: head/devel/Makefile head/devel/pecl-weakref2/ head/devel/pecl-weakref2/Makefile head/devel/pecl-weakref2/distinfo