View | Details | Raw Unified | Return to bug 137959 | Differences between
and this patch

Collapse All | Expand All

(-)bitlbee-otr/Makefile (-2 / +2 lines)
Lines 7-15 Link Here
7
7
8
PORTNAME=	bitlbee-otr
8
PORTNAME=	bitlbee-otr
9
PORTVERSION=	1.2.3
9
PORTVERSION=	1.2.3
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	irc
11
CATEGORIES=	irc
12
MASTER_SITES=	http://wahjava.googlepages.com/
12
MASTER_SITES=	${MASTER_SITE_FREEBSD}
13
13
14
MAINTAINER=	wahjava@gmail.com
14
MAINTAINER=	wahjava@gmail.com
15
COMMENT=	An IRC to other chat networks gateway with support for OTR
15
COMMENT=	An IRC to other chat networks gateway with support for OTR
(-)bitlbee-otr/files/patch-configure (+22 lines)
Line 0 Link Here
1
2
$FreeBSD$
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
 

Return to bug 137959