aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-09-26 23:41:42 +0800
committerleeym <leeym@FreeBSD.org>2006-09-26 23:41:42 +0800
commite1b679f3561b5f84c1e90dd35603c41025dbd9c2 (patch)
tree65dbdb7a1e34b7f1d842c2e9c9cda56929e8e76f
parent87b4068550ea785875fd55b1bf6c2effe8a25b7f (diff)
downloadfreebsd-ports-gnome-e1b679f3561b5f84c1e90dd35603c41025dbd9c2.tar.gz
freebsd-ports-gnome-e1b679f3561b5f84c1e90dd35603c41025dbd9c2.tar.zst
freebsd-ports-gnome-e1b679f3561b5f84c1e90dd35603c41025dbd9c2.zip
- use fixed PKGNAMEPREFIX instead of dynamic one based on PHP_VER
- set IGNORE_WITH_PHP/DEFAULT_PHP_VER to avoid confusion Noticed by: erwin, ale
-rw-r--r--graphics/php4-imlib2/Makefile2
-rw-r--r--graphics/php5-imlib2/Makefile5
2 files changed, 5 insertions, 2 deletions
diff --git a/graphics/php4-imlib2/Makefile b/graphics/php4-imlib2/Makefile
index a6ab2d09cb72..e887c91a7638 100644
--- a/graphics/php4-imlib2/Makefile
+++ b/graphics/php4-imlib2/Makefile
@@ -6,9 +6,11 @@
#
CATEGORIES= graphics
+PKGNAMEPREFIX= php4-
MASTERDIR= ${.CURDIR}/../../graphics/php5-imlib2
+IGNORE_WITH_PHP=5
DEFAULT_PHP_VER=4
.include "${MASTERDIR}/Makefile"
diff --git a/graphics/php5-imlib2/Makefile b/graphics/php5-imlib2/Makefile
index b7ed2e504b79..742b75f7a90c 100644
--- a/graphics/php5-imlib2/Makefile
+++ b/graphics/php5-imlib2/Makefile
@@ -9,7 +9,7 @@ PORTNAME= imlib2
PORTVERSION= 0.1.00
CATEGORIES= graphics
MASTER_SITES= http://pecl.php.net/get/
-PKGNAMEPREFIX= php${PHP_VER}-
+PKGNAMEPREFIX= php5-
EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
@@ -19,7 +19,8 @@ LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
USE_PHP= yes
USE_PHPEXT= yes
-DEFAULT_PHP_VER?=5
+IGNORE_WITH_PHP=4
+DEFAULT_PHP_VER=5
# libImlib2 may or may not depend on X, however,
# imlib2 extension doesn't need X related functions in libImlib2