ports/140680: Modify port databases/phpmyadmin to allow building with PHP 5.3.0
Morton Jonuschat
mjonuschat at gmail.com
Wed Nov 18 22:40:02 UTC 2009
The following reply was made to PR ports/140680; it has been noted by GNATS.
From: Morton Jonuschat <mjonuschat at gmail.com>
To: FreeBSD-gnats-submit at FreeBSD.org,
freebsd-ports-bugs at FreeBSD.org
Cc:
Subject: ports/140680: Modify port databases/phpmyadmin to allow building with PHP 5.3.0
Date: Wed, 18 Nov 2009 23:08:00 +0100
--Apple-Mail-11--1045477699
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii;
format=flowed;
delsp=yes
Please find a revised patch attached to this mail since my previous
patch made the port depend on an installed PHP Version. This patch
uses a simple file existance check to decide wether to depend on php5-
spl or not.
--Apple-Mail-11--1045477699
Content-Disposition: attachment;
filename=phpmyadmin-php53-revised.diff.txt
Content-Type: text/plain;
name="phpmyadmin-php53-revised.diff.txt"
Content-Transfer-Encoding: 7bit
--- FreeBSD/ports/databases/phpmyadmin/Makefile 2009-11-02 11:54:04.000000000 +0100
+++ PHP-5.3.0/ports/databases/phpmyadmin/Makefile 2009-11-18 23:04:13.102677851 +0100
@@ -20,7 +20,10 @@
USE_BZIP2= yes
NO_BUILD= yes
.if !defined(WITHOUT_PHP_DEPENDS)
-USE_PHP= ctype mysql session spl filter
+USE_PHP= ctype mysql session filter
+. if exists(${PORTSDIR}/devel/php5-spl/Makefile)
+USE_PHP+= spl
+. endif
.endif
# Unfortunately can't make WITH_SUPHP part of the OPTIONS selection,
--Apple-Mail-11--1045477699
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=us-ascii;
format=flowed
Kind regards,
Morton
--Apple-Mail-11--1045477699--
More information about the freebsd-ports-bugs
mailing list