Created attachment 202268 [details] remove mysql_DEPENDS Remove mysql_DEPENDS from Mk/Uses/php.mk because current PHP versions 7.x no longer have extension php7?-mysql, only php7?-mysqli.
It'd be nice to have a patch that removes all USE_PHP=mysql from the ports tree, it looks like there are ports that still have it.
(In reply to Alex Dupre from comment #1) Quick serach gives me this ports www/phprecipebook/Makefile:27:MYSQL_USE= PHP=mysql net-mgmt/nagvis/Makefile:41:NDO2DB_USE= PHP=mysql security/base/Makefile:32:MYSQL_USE= MYSQL=yes PHP=mysql devel/flyspray/Makefile:51:MYSQL_USE= PHP=mysql databases/pear-Horde_Db/Makefile:21:MYSQL_USE= PHP=mysql Some of them seems dead and will not work with PHP 7.x: www/phprecipebook - the port was not updated for the last 7 years; upstream released last version in 2015 (not supporting PHP 7.2?) devel/flyspray - the port was not updated for the last 7 years; upstream has version 1.0-rc7 with PHP 7.2 support security/base - the last update to port in 2010, the update upstream in 2010 (not supporting PHP 7.2?) net-mgmt/nagvis - probably remove option NDO2DB? databases/pear-Horde_Db - just remove MYSQL_USE= PHP=mysql, leave MYSQLI_USE Only pear-Horde_Db is simple. What should be done to the other ports?
Found this: www/pivotx/Makefile:USE_PHP+= mysql www/Stikked/Makefile:USE_PHP+= mysql www/codeigniter/Makefile:MYSQL_VARS= USE_PHP+=mysql net-mgmt/zabbix22-frontend/Makefile:USE_PHP+= mysql net-mgmt/zabbix3-frontend/Makefile:USE_PHP+= mysql net-mgmt/zabbix32-frontend/Makefile:USE_PHP+= mysql net-mgmt/zabbix34-frontend/Makefile:USE_PHP+= mysql
A commit references this bug: Author: tobik Date: Fri May 24 11:30:22 UTC 2019 New revision: 502451 URL: https://svnweb.freebsd.org/changeset/ports/502451 Log: www/codeigniter: Drop broken MYSQL option USE_PHP=mysql no longer works. PR: 235942 Changes: head/www/codeigniter/Makefile
Comment on attachment 202268 [details] remove mysql_DEPENDS Alex, can you please approve this patch? All ports that had USE_PHP=mysql no longer have it or were switched to USE_PHP=mysqli.
A commit references this bug: Author: tobik Date: Fri May 24 12:34:16 UTC 2019 New revision: 502460 URL: https://svnweb.freebsd.org/changeset/ports/502460 Log: devel/flyspray: Remove broken MYSQL option USE_PHP=mysql no longer works. PR: 235942 Changes: head/devel/flyspray/Makefile
A commit references this bug: Author: tobik Date: Fri May 24 12:39:28 UTC 2019 New revision: 502463 URL: https://svnweb.freebsd.org/changeset/ports/502463 Log: security/base: Remove broken MYSQL option USE_PHP=mysql no longer works. PR: 235942 Changes: head/security/base/Makefile
A commit references this bug: Author: tobik Date: Fri May 24 12:47:17 UTC 2019 New revision: 502465 URL: https://svnweb.freebsd.org/changeset/ports/502465 Log: databases/pear-Horde_Db: Remove broken MYSQL option USE_PHP=mysql is no longer supported. PR: 235942 Changes: head/databases/pear-Horde_Db/Makefile
A commit references this bug: Author: tobik Date: Fri May 24 12:49:22 UTC 2019 New revision: 502466 URL: https://svnweb.freebsd.org/changeset/ports/502466 Log: www/phprecipebook: Remove broken MYSQL option PHP 5.6 is gone and USE_PHP=mysql is no longer supported. PR: 235942 Changes: head/www/phprecipebook/Makefile
(In reply to Tobias Kortkamp from comment #5) > Comment on attachment 202268 [details] > remove mysql_DEPENDS > > Alex, can you please approve this patch? All ports that had USE_PHP=mysql > no longer have it or were switched to USE_PHP=mysqli. Missed a bunch, of course. ;-) But I hope I got them all this time.
I approve it
A commit references this bug: Author: tobik Date: Fri May 24 15:24:20 UTC 2019 New revision: 502477 URL: https://svnweb.freebsd.org/changeset/ports/502477 Log: Mk/Uses/php.mk: Drop unused mysql_DEPENDS PR: 235942 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Approved by: ale (maintainer) Changes: head/Mk/Uses/php.mk
Thanks.