summaryrefslogtreecommitdiff
path: root/net/ORBit/patches/patch-ac
blob: cce201f4f1fd94dc4e01dacdb20b12ba06345c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.11 2002/08/25 18:39:31 jlam Exp $

--- configure.orig	Wed Mar 20 14:45:48 2002
+++ configure	Thu Apr 25 12:42:56 2002
@@ -8636,6 +8636,10 @@
 	THEFILE="`echo $I | sed -e 's,^-L,,'`"
 	echo "From $I, checking in dir $THEFILE for libwrap.so" 1>&5
 	if test -f $THEFILE/libwrap.so; then
+		LIB_WRAP=-lwrap
+		echo "Found $THEFILE/libwrap.so" 1>&5
+		break
+	elif test -f `set $THEFILE/libwrap.so.*.*; echo $1`; then
 		LIB_WRAP=-lwrap
 		echo "Found $THEFILE/libwrap.so" 1>&5
 		break