diff options
Diffstat (limited to 'irc/bitlbee')
-rw-r--r-- | irc/bitlbee/Makefile | 1 | ||||
-rw-r--r-- | irc/bitlbee/distinfo | 1 | ||||
-rw-r--r-- | irc/bitlbee/files/patch-configure | 35 |
3 files changed, 36 insertions, 1 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile index 5920834dfede..6b2ec0c2e7ad 100644 --- a/irc/bitlbee/Makefile +++ b/irc/bitlbee/Makefile @@ -7,6 +7,7 @@ PORTNAME= bitlbee PORTVERSION= 3.0 +PORTREVISION= 1 CATEGORIES= irc MASTER_SITES= http://get.bitlbee.org/src/ \ ${MASTER_SITE_LOCAL} diff --git a/irc/bitlbee/distinfo b/irc/bitlbee/distinfo index 6e2f28492b4c..cb0f168ba37b 100644 --- a/irc/bitlbee/distinfo +++ b/irc/bitlbee/distinfo @@ -1,3 +1,2 @@ -MD5 (bitlbee-3.0.tar.gz) = 455fc8070d758c2bb3442ef4c709ad69 SHA256 (bitlbee-3.0.tar.gz) = 146d6ec238454c1e735bdb35e8a5f15f913f5eb14d240e8ccd87f205a3376698 SIZE (bitlbee-3.0.tar.gz) = 662460 diff --git a/irc/bitlbee/files/patch-configure b/irc/bitlbee/files/patch-configure new file mode 100644 index 000000000000..ec294a4764fb --- /dev/null +++ b/irc/bitlbee/files/patch-configure @@ -0,0 +1,35 @@ +--- configure.orig 2010-10-22 00:51:31.000000000 +0000 ++++ configure 2010-11-14 14:17:19.000000000 +0000 +@@ -319,6 +319,11 @@ EOF + } + + RESOLV_TESTCODE=' ++#ifdef __FreeBSD__ ++#include <sys/types.h> ++#include <netinet/in.h> ++#endif ++ + #include <arpa/nameser.h> + #include <resolv.h> + +@@ -329,13 +334,18 @@ int main() + } + ' + ++LIBRESOLV=-lresolv ++ ++# In FreeBSD res_* routines are present in libc.so ++[ "$arch" = FreeBSD ] && LIBRESOLV= ++ + detect_resolv_dynamic() + { + TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) + ret=1 +- echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - -lresolv >/dev/null 2>/dev/null ++ echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - $LIBRESOLV >/dev/null 2>/dev/null + if [ "$?" = "0" ]; then +- echo 'EFLAGS+=-lresolv' >> Makefile.settings ++ echo "EFLAGS+=$LIBRESOLV" >> Makefile.settings + ret=0 + fi + |