summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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