summaryrefslogtreecommitdiff
path: root/devel/php-libawl
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-10-02 06:30:41 +0000
committerobache <obache@pkgsrc.org>2010-10-02 06:30:41 +0000
commitce5e8500ca5ca2c61185b841d67267361b40f2d0 (patch)
tree011bc756186ae0175d36a91061b6ac10c9629c12 /devel/php-libawl
parent63a4530ebe73643d690b557a4c888917ef13c920 (diff)
downloadpkgsrc-ce5e8500ca5ca2c61185b841d67267361b40f2d0.tar.gz
Change requirement of php packages, or php-5.3.x may be installed with binary
package.
Diffstat (limited to 'devel/php-libawl')
-rw-r--r--devel/php-libawl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/php-libawl/Makefile b/devel/php-libawl/Makefile
index bea0fdc44a3..dd068f3c269 100644
--- a/devel/php-libawl/Makefile
+++ b/devel/php-libawl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/05/23 21:16:17 jym Exp $
+# $NetBSD: Makefile,v 1.2 2010/10/02 06:30:41 obache Exp $
#
DISTNAME= awl-${LIBAWL_VERSION}
@@ -16,7 +16,9 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "../../lang/php/phpversion.mk"
-DEPENDS+= php>=5.2.0:../../lang/php5
+.if ${PKG_PHP_VERSION} == "5"
+DEPENDS+= php>=5.2.0<5.3:../../lang/php5
+.endif
DEPENDS+= ${PHP_PKG_PREFIX}-iconv-[0-9]*:../../converters/php-iconv
DEPENDS+= ${PHP_PKG_PREFIX}-gettext-[0-9]*:../../devel/php-gettext