summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2007-06-08 12:37:32 +0000
committeradrianp <adrianp@pkgsrc.org>2007-06-08 12:37:32 +0000
commitfb3961fc3fda712d375765a38c193e9661107cc3 (patch)
treee15c5f360e120a000d67582a1a3299065c1044e7
parent48fba757a89cc030501de27f9f515cdf2a19778b (diff)
downloadpkgsrc-fb3961fc3fda712d375765a38c193e9661107cc3.tar.gz
Move the refined php dependency after the b3.mk include.
Bump PKGREVISION
-rw-r--r--lang/pear/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/pear/Makefile b/lang/pear/Makefile
index cb941f0fc02..58863da1d01 100644
--- a/lang/pear/Makefile
+++ b/lang/pear/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2007/05/16 12:19:08 adrianp Exp $
+# $NetBSD: Makefile,v 1.4 2007/06/08 12:37:32 adrianp Exp $
#
DISTNAME= PEAR-1.5.4
+PKGREVISION= 1
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME:S/PEAR/pear/}
CATEGORIES= lang
MASTER_SITES= http://download.pear.php.net/package/
@@ -91,11 +92,12 @@ do-install:
${CP} ${PKG_SYSCONFDIR}/pear.conf ${PREFIX}/share/examples/pear
${RM} ${PKG_SYSCONFDIR}/pear.conf
+.include "${PHPPKGSRCDIR}/buildlink3.mk"
+
.if ${PKG_PHP_VERSION} == "4"
BUILDLINK_API_DEPENDS.php+= php>=4.4.6nb1
.elif ${PKG_PHP_VERSION} == "5"
BUILDLINK_API_DEPENDS.php+= php>=5.2.1nb2
.endif
-.include "${PHPPKGSRCDIR}/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"