pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/pear-Net_Socket introduce optional dependence on N...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a2c46d2b288
branches:  trunk
changeset: 484413:3a2c46d2b288
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Nov 27 14:16:39 2004 +0000

description:
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:

 net/pear-Net_Socket/builtin.mk |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 74e3642070f4 -r 3a2c46d2b288 net/pear-Net_Socket/builtin.mk
--- a/net/pear-Net_Socket/builtin.mk    Sat Nov 27 14:16:35 2004 +0000
+++ b/net/pear-Net_Socket/builtin.mk    Sat Nov 27 14:16:39 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index