aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2010-09-07 22:30:03 +0800
committerale <ale@FreeBSD.org>2010-09-07 22:30:03 +0800
commit71f8d942a5d33516a57d4a61358869e142e14a26 (patch)
tree950027e372a39e5b508b0d505fba8c48f29f678d /Mk
parent2fb45d844b236672e954daac08beb6125c5e1980 (diff)
downloadfreebsd-ports-gnome-71f8d942a5d33516a57d4a61358869e142e14a26.tar.gz
freebsd-ports-gnome-71f8d942a5d33516a57d4a61358869e142e14a26.tar.zst
freebsd-ports-gnome-71f8d942a5d33516a57d4a61358869e142e14a26.zip
Replace pecl-fileinfo with php5-fileinfo for php 5.3.x.
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.php.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/Mk/bsd.php.mk b/Mk/bsd.php.mk
index 4a23315074fd..b599134c9de4 100644
--- a/Mk/bsd.php.mk
+++ b/Mk/bsd.php.mk
@@ -275,7 +275,6 @@ dio_DEPENDS= devel/php${PHP_VER}-dio
dom_DEPENDS= textproc/php${PHP_VER}-dom
domxml_DEPENDS= textproc/php${PHP_VER}-domxml
exif_DEPENDS= graphics/php${PHP_VER}-exif
-fileinfo_DEPENDS= sysutils/pecl-fileinfo
filepro_DEPENDS=databases/php${PHP_VER}-filepro
filter_DEPENDS= security/php${PHP_VER}-filter
fribidi_DEPENDS=converters/pecl-fribidi
@@ -341,10 +340,16 @@ yaz_DEPENDS= net/pecl-yaz
yp_DEPENDS= net/php${PHP_VER}-yp
zlib_DEPENDS= archivers/php${PHP_VER}-zlib
.if ${PHP_VER} == 4
+fileinfo_DEPENDS= sysutils/pecl-fileinfo
hash_DEPENDS= security/pecl-hash
json_DEPENDS= devel/pecl-json
zip_DEPENDS= archivers/pecl-zip
.else
+.if ${PHP_VER} == 52
+fileinfo_DEPENDS= sysutils/pecl-fileinfo
+.else
+fileinfo_DEPENDS= sysutils/php${PHP_VER}-fileinfo
+.endif
hash_DEPENDS= security/php${PHP_VER}-hash
json_DEPENDS= devel/php${PHP_VER}-json
zip_DEPENDS= archivers/php${PHP_VER}-zip