diff options
author | jdolecek <jdolecek> | 2004-11-27 14:16:39 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-11-27 14:16:39 +0000 |
commit | 3f53884de799377f5fdda528d452b3dcbfcfadff (patch) | |
tree | 8d40e44befe749e8af451b13e6f84a1b95e80876 /net | |
parent | dd82a85239b894f742b0147d715e372534d552ca (diff) | |
download | pkgsrc-3f53884de799377f5fdda528d452b3dcbfcfadff.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
Diffstat (limited to 'net')
-rw-r--r-- | net/pear-Net_Socket/builtin.mk | 9 |
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 |