diff options
author | jschauma <jschauma> | 2005-05-17 18:04:49 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2005-05-17 18:04:49 +0000 |
commit | 732eecf8d8bdcb524bca4d8b1f87af5ffcba7b4b (patch) | |
tree | 414b0cc32162117c200f386da006f16837e96202 /security | |
parent | b215169e199dfa37e668b198300e5e352b503b04 (diff) | |
download | pkgsrc-732eecf8d8bdcb524bca4d8b1f87af5ffcba7b4b.tar.gz |
When checking for the library, accept either libwrap.so or libwrap.a since
apparently some systems only have .a (pointed out by adrianp@).
Diffstat (limited to 'security')
-rw-r--r-- | security/tcp_wrappers/builtin.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/security/tcp_wrappers/builtin.mk b/security/tcp_wrappers/builtin.mk index 51ebbf44361..1605344bfee 100644 --- a/security/tcp_wrappers/builtin.mk +++ b/security/tcp_wrappers/builtin.mk @@ -1,8 +1,9 @@ -# $NetBSD: builtin.mk,v 1.3 2005/05/10 02:41:15 jschauma Exp $ +# $NetBSD: builtin.mk,v 1.4 2005/05/17 18:04:49 jschauma Exp $ .if !defined(IS_BUILTIN.tcp_wrappers) IS_BUILTIN.tcp_wrappers= no -. if exists(/usr/include/tcpd.h) && exists(/usr/lib${ABI}/libwrap.so) +. if exists(/usr/include/tcpd.h) && (exists(/usr/lib${ABI}/libwrap.so) || + exists(/usr/lib${ABI}/libwrap.a)) IS_BUILTIN.tcp_wrappers= yes . endif .endif # IS_BUILTIN.tcp_wrappers |