diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bind9/builtin.mk | 5 | ||||
-rw-r--r-- | net/libpcap/builtin.mk | 6 | ||||
-rw-r--r-- | net/netbsd-tap/builtin.mk | 5 |
3 files changed, 9 insertions, 7 deletions
diff --git a/net/bind9/builtin.mk b/net/bind9/builtin.mk index b0108fe5482..a7597d7bb72 100644 --- a/net/bind9/builtin.mk +++ b/net/bind9/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.9 2005/06/26 04:05:41 jlam Exp $ +# $NetBSD: builtin.mk,v 1.10 2006/03/30 18:06:18 jlam Exp $ BUILTIN_PKG:= bind @@ -13,7 +13,8 @@ BUILTIN_FIND_LIBS:= bind ### system. ### .if !defined(BUILTIN_VERSION.bind) && \ - empty(EXE_NAMED:M${LOCALBASE}/*) && exists(${EXE_NAMED}) + empty(EXE_NAMED:M__nonexistent__) && \ + empty(EXE_NAMED:M${LOCALBASE}/*) BUILTIN_VERSION.bind!= \ ${EXE_NAMED} -v 2>/dev/null | ${HEAD} -1 | \ ${AWK} 'BEGIN { v = "4.9.11"; } \ diff --git a/net/libpcap/builtin.mk b/net/libpcap/builtin.mk index a4ad5f43a81..cc808181ce0 100644 --- a/net/libpcap/builtin.mk +++ b/net/libpcap/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.12 2006/02/27 14:20:47 drochner Exp $ +# $NetBSD: builtin.mk,v 1.13 2006/03/30 18:06:18 jlam Exp $ BUILTIN_PKG:= libpcap @@ -13,7 +13,7 @@ BUILTIN_FIND_FILES.H_LIBPCAP= /usr/include/pcap.h ### .if !defined(IS_BUILTIN.libpcap) IS_BUILTIN.libpcap= no -. if empty(H_LIBPCAP:M${LOCALBASE}/*) && exists(${H_LIBPCAP}) +. if empty(H_LIBPCAP:M__nonexistent__) && empty(H_LIBPCAP:M${LOCALBASE}/*) IS_BUILTIN.libpcap= yes . endif .endif @@ -25,7 +25,7 @@ MAKEVARS+= IS_BUILTIN.libpcap ### .if !defined(BUILTIN_PKG.libpcap) && \ !empty(IS_BUILTIN.libpcap:M[yY][eE][sS]) && \ - exists(${H_LIBPCAP}) + empty(H_LIBPCAP:M__nonexistent__) # libpcap>=0.9.3: pcap_setdirection added (don't use pcap_inject, this # was hacked into the NetBSD version of 0.8.3) _BLTN_PCAP_093!= \ diff --git a/net/netbsd-tap/builtin.mk b/net/netbsd-tap/builtin.mk index bc8d19347c2..ff2670ea28f 100644 --- a/net/netbsd-tap/builtin.mk +++ b/net/netbsd-tap/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.2 2005/06/01 18:03:08 jlam Exp $ +# $NetBSD: builtin.mk,v 1.3 2006/03/30 18:06:18 jlam Exp $ BUILTIN_PKG:= netbsd-tap @@ -13,7 +13,8 @@ BUILTIN_FIND_FILES.H_NETBSD_TAP= /usr/include/net/if_tap.h ### .if !defined(IS_BUILTIN.netbsd-tap) IS_BUILTIN.netbsd-tap= no -. if empty(H_NETBSD_TAP:M${LOCALBASE}/*) && exists(${H_NETBSD_TAP}) +. if empty(H_NETBSD_TAP:M__nonexistent__) && \ + empty(H_NETBSD_TAP:M${LOCALBASE}/*) IS_BUILTIN.netbsd-tap= yes . endif .endif |