pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/tcp_wrappers When checking for the library, a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a307a041f1f1
branches:  trunk
changeset: 493966:a307a041f1f1
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue May 17 18:04:49 2005 +0000

description:
When checking for the library, accept either libwrap.so or libwrap.a since
apparently some systems only have .a (pointed out by adrianp@).

diffstat:

 security/tcp_wrappers/builtin.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r bb1c150aca4b -r a307a041f1f1 security/tcp_wrappers/builtin.mk
--- a/security/tcp_wrappers/builtin.mk  Tue May 17 17:29:22 2005 +0000
+++ b/security/tcp_wrappers/builtin.mk  Tue May 17 18:04:49 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index