ports/128889: databases/phpmyadmin should not install if you run MySQL version older than 5.0.15

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Nov 16 09:30:00 UTC 2008


miwi at FreeBSD.org wrote:
> Synopsis: databases/phpmyadmin should not install if you run MySQL version older than 5.0.15
> 
> Responsible-Changed-From-To: freebsd-ports-bugs->miwi
> Responsible-Changed-By: miwi
> Responsible-Changed-When: Sat Nov 15 17:10:05 UTC 2008
> Responsible-Changed-Why: 
> I'll take it.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=128889

Hmmm... I can confirm that the problem behaviour exists.  
I built databases/mysql41-client in a jail with no other ports
installed, and then built databases/phpmyadmin

Everything installed without any complaint:

sandbox:...ports/databases/phpmyadmin:# pkg_info -Ix mysql
mysql-client-4.1.22_1 Multithreaded SQL database (client)
php5-mysql-5.2.6_2  The mysql shared extension for php
sandbox:...ports/databases/phpmyadmin:# pkg_info -Ix phpMyAdmin
phpMyAdmin-3.0.1.1  A set of PHP-scripts to manage MySQL over the web

Please apply this patch:

diff -Nur /usr/ports/databases/phpmyadmin/Makefile phpmyadmin/Makefile
--- /usr/ports/databases/phpmyadmin/Makefile 2008-11-01 16:09:55.000000000 +0000
+++ phpmyadmin/Makefile 2008-11-16 09:24:42.000000000 +0000
@@ -14,6 +14,7 @@
 MAINTAINER= m.seaman at infracaninophile.co.uk
 COMMENT= A set of PHP-scripts to manage MySQL over the web
 
+USE_MYSQL= yes
 IGNORE_WITH_PHP= 4
 IGNORE_WITH_MYSQL= 323 40 41
 USE_BZIP2= yes

The result should now be:

sandbox:~/src/ports/phpmyadmin:% make
===>  phpMyAdmin-3.0.1.1 cannot install: doesn't work with MySQL version : 41 (Doesn't support MySQL 323 40 41).
*** Error code 1

Stop in /home/matthew/src/ports/phpmyadmin.





-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20081116/893bfc2b/attachment.sig>


More information about the freebsd-ports-bugs mailing list