summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-27 14:16:39 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-27 14:16:39 +0000
commitbe30ce006c787b58e4c4f23a4eb3302318e454b7 (patch)
tree8d40e44befe749e8af451b13e6f84a1b95e80876
parentd669d9297ced25aa29266bb3b20e9ffba05de9e6 (diff)
downloadpkgsrc-be30ce006c787b58e4c4f23a4eb3302318e454b7.tar.gz
introduce optional dependence on Net_Socket 1.0.2 - php-4.3.9nb1 contains
1.0.1 (default), packages requesting 1.0.2 get dependence on 4.3.9nb2
-rw-r--r--net/pear-Net_Socket/builtin.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/pear-Net_Socket/builtin.mk b/net/pear-Net_Socket/builtin.mk
index d4f1dd468fd..3c95452f238 100644
--- a/net/pear-Net_Socket/builtin.mk
+++ b/net/pear-Net_Socket/builtin.mk
@@ -1,9 +1,14 @@
-# $NetBSD: builtin.mk,v 1.2 2004/11/27 12:52:59 jdolecek Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/11/27 14:16:39 jdolecek Exp $
.include "../../lang/php/phpversion.mk"
-.if ${_PHP_VERSION} < 5
+.if ${_PHP_VERSION} <= 4
IS_BUILTIN.pear-netsocket= yes
+. if defined(PEAR_NETSOCKET_VERSION_REQD) \
+ && !empty(PEAR_NETSOCKET_VERSION_REQD:M1.0.2)
+# need Net_Socket 1.0.2
+DEPENDS+= php>=4.3.9nb2:../../www/php4
+. endif
.else
IS_BUILTIN.pear-netsocket= no
.endif