diff options
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bitlbee-otr/Makefile | 4 | ||||
-rw-r--r-- | irc/bitlbee-otr/files/patch-configure | 22 |
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" + |