pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/tcp_wrappers In addition to checking for the ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/813271adf5bc
branches:  trunk
changeset: 493600:813271adf5bc
user:      jschauma <jschauma%pkgsrc.org@localhost>
date:      Tue May 10 02:41:15 2005 +0000

description:
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:

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

diffs (14 lines):

diff -r bc4d80577178 -r 813271adf5bc security/tcp_wrappers/builtin.mk
--- a/security/tcp_wrappers/builtin.mk  Tue May 10 02:31:38 2005 +0000
+++ b/security/tcp_wrappers/builtin.mk  Tue May 10 02:41:15 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index