ports/irc/bitlbee-otr/files/patch-configure
Martin Wilke 74ff45081b - Fix performing SRV DNS records lookup for XMPP domain
names.

PR:		137959
Submitted by:	Ashish SHUKLA <wahjava@gmail.com> (maintainer)
Feature safe:	yes
2009-09-19 12:52:23 +00:00

22 lines
436 B
Text

$FreeBSD$
--- configure.orig
+++ configure
@@ -350,13 +350,11 @@
echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings
-for i in $systemlibdirs; do
- if [ -f $i/libresolv.a ]; then
+if [ "$arch" = FreeBSD ]; then
+ if [ `strings /lib/libc.so.* |grep res_query |wc -l` -gt 0 ]; then
echo '#define HAVE_RESOLV_A' >> config.h
- echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings
- break
fi
-done
+fi
STORAGES="text xml"