diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-05-10 02:41:15 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-05-10 02:41:15 +0000 |
commit | c2a9909f72aba2ce21b97f2bb3f4fb4c93a15a02 (patch) | |
tree | 730fbedf0d394475deda9e3f4023638644e03471 /security | |
parent | 4884bc7744948ba3af69e3c70f17efbc8643b0a3 (diff) | |
download | pkgsrc-c2a9909f72aba2ce21b97f2bb3f4fb4c93a15a02.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 |