diff options
author | jschauma <jschauma> | 2005-05-10 02:41:15 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-05-10 02:41:15 +0000 |
commit | 609975822c2520937e37ebcc0770bda3fba085f5 (patch) | |
tree | 730fbedf0d394475deda9e3f4023638644e03471 /security | |
parent | 277d28c8f60f463098544e0ce6b458e02d2cfce3 (diff) | |
download | pkgsrc-609975822c2520937e37ebcc0770bda3fba085f5.tar.gz |
In addition to checking for the header, also check for the library,
specifically, check in /usr/lib${ABI}, since it's possible that
on multi-ABI platforms only one version is installed, in which case we'd
need to build and install the other from pkgsrc.
Diffstat (limited to 'security')
-rw-r--r-- | security/tcp_wrappers/builtin.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/tcp_wrappers/builtin.mk b/security/tcp_wrappers/builtin.mk index 86d119d53e0..51ebbf44361 100644 --- a/security/tcp_wrappers/builtin.mk +++ b/security/tcp_wrappers/builtin.mk @@ -1,8 +1,8 @@ -# $NetBSD: builtin.mk,v 1.2 2004/03/29 05:43:35 jlam Exp $ +# $NetBSD: builtin.mk,v 1.3 2005/05/10 02:41:15 jschauma Exp $ .if !defined(IS_BUILTIN.tcp_wrappers) IS_BUILTIN.tcp_wrappers= no -. if exists(/usr/include/tcpd.h) +. if exists(/usr/include/tcpd.h) && exists(/usr/lib${ABI}/libwrap.so) IS_BUILTIN.tcp_wrappers= yes . endif .endif # IS_BUILTIN.tcp_wrappers |