aboutsummaryrefslogtreecommitdiffstats
path: root/irc/bitlbee-otr
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-19 20:52:23 +0800
committermiwi <miwi@FreeBSD.org>2009-09-19 20:52:23 +0800
commit21ef688dd5fd11d8ff59048c8ac77c66ebaa30ff (patch)
treed038c3239579882ec1a037a83ad996674ad299aa /irc/bitlbee-otr
parent4c3ac01d727d1bd5be08e505a291537c45bb0480 (diff)
downloadfreebsd-ports-gnome-21ef688dd5fd11d8ff59048c8ac77c66ebaa30ff.tar.gz
freebsd-ports-gnome-21ef688dd5fd11d8ff59048c8ac77c66ebaa30ff.tar.zst
freebsd-ports-gnome-21ef688dd5fd11d8ff59048c8ac77c66ebaa30ff.zip
- Fix performing SRV DNS records lookup for XMPP domain
names. PR: 137959 Submitted by: Ashish SHUKLA <wahjava@gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'irc/bitlbee-otr')
-rw-r--r--irc/bitlbee-otr/Makefile4
-rw-r--r--irc/bitlbee-otr/files/patch-configure22
2 files changed, 24 insertions, 2 deletions
diff --git a/irc/bitlbee-otr/Makefile b/irc/bitlbee-otr/Makefile
index 7befd67bf65b..c306bc08c3fe 100644
--- a/irc/bitlbee-otr/Makefile
+++ b/irc/bitlbee-otr/Makefile
@@ -7,9 +7,9 @@
PORTNAME= bitlbee-otr
PORTVERSION= 1.2.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= irc
-MASTER_SITES= http://wahjava.googlepages.com/
+MASTER_SITES= ${MASTER_SITE_FREEBSD}
MAINTAINER= wahjava@gmail.com
COMMENT= An IRC to other chat networks gateway with support for OTR
diff --git a/irc/bitlbee-otr/files/patch-configure b/irc/bitlbee-otr/files/patch-configure
new file mode 100644
index 000000000000..cb32d7fb57da
--- /dev/null
+++ b/irc/bitlbee-otr/files/patch-configure
@@ -0,0 +1,22 @@
+
+$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"
+