diff options
author | jschauma <jschauma@pkgsrc.org> | 2005-05-17 18:04:49 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2005-05-17 18:04:49 +0000 |
commit | 42001457bc31c7aa9cb1a0b7f7621a7ad085bb7c (patch) | |
tree | 414b0cc32162117c200f386da006f16837e96202 /security/tcp_wrappers/builtin.mk | |
parent | 8b1fdd4fa033dafb0f3fa8381bfcf73318e2679f (diff) | |
download | pkgsrc-42001457bc31c7aa9cb1a0b7f7621a7ad085bb7c.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/tcp_wrappers/builtin.mk')
-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 |