Lines 1-22
Link Here
|
1 |
|
|
|
2 |
$FreeBSD: ports/irc/bitlbee-otr/files/patch-configure,v 1.6 2009/09/19 12:52:23 miwi Exp $ |
3 |
|
4 |
--- configure.orig |
5 |
+++ configure |
6 |
@@ -350,13 +350,11 @@ |
7 |
|
8 |
echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings |
9 |
|
10 |
-for i in $systemlibdirs; do |
11 |
- if [ -f $i/libresolv.a ]; then |
12 |
+if [ "$arch" = FreeBSD ]; then |
13 |
+ if [ `strings /lib/libc.so.* |grep res_query |wc -l` -gt 0 ]; then |
14 |
echo '#define HAVE_RESOLV_A' >> config.h |
15 |
- echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings |
16 |
- break |
17 |
fi |
18 |
-done |
19 |
+fi |
20 |
|
21 |
STORAGES="text xml" |
22 |
|