ports/137866: Cannot compile ports/net-im/loudmouth (FreeBSD 8.0 BETA-2)

Dima Panov Fluffy at fluffy.khv.ru
Mon Aug 17 07:25:49 UTC 2009


On Monday 17 August 2009 17:46:45 Andrei Lavreniyuk wrote:
> >Number:         137866
> >Category:       ports
> >Synopsis:       Cannot compile ports/net-im/loudmouth (FreeBSD 8.0 BETA-2)
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       medium
> >Responsible:    freebsd-ports-bugs
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Mon Aug 17 06:50:06 UTC 2009
> >Closed-Date:
> >Last-Modified:
> >Originator:     Andrei Lavreniyuk
> >Release:        FreeBSD 8.0-BETA2
> >Organization:
>
> Technica-03, Inc.
>
> >Environment:
>
> FreeBSD datacenter.technica-03.local 8.0-BETA2 FreeBSD 8.0-BETA2 #0: Sun
> Jul 19 09:20:13 EEST 2009    
> root at datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>
> >Description:
>

Fix by enable OpenSSL by default: 

Index: net-im/loudmouth/Makefile
===================================================================
RCS file: /home/ncvs/ports/net-im/loudmouth/Makefile,v
retrieving revision 1.49
diff -u -r1.49 Makefile
--- net-im/loudmouth/Makefile	16 Aug 2009 18:04:34 -0000	1.49
+++ net-im/loudmouth/Makefile	17 Aug 2009 07:23:50 -0000
@@ -26,12 +26,21 @@
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-Wl,-Bsymbolic -L${LOCALBASE}/lib"
 
-OPTIONS=	GNUTLS "Enable SSL (via GnuTLS) support" on
+OPTIONS=	GNUTLS "Enable SSL (via GnuTLS) support" off \
+		OPENSSL "Enable SSL (via OpenSSL) support" on
 
 .include <bsd.port.pre.mk>
 
+.if defined(WITH_GNUTLS) && defined(WITH_OPENSSL)
+IGNORE=		may only use GNU TLS if OpenSSL support is disabled
+.endif
+
 .if !defined(WITHOUT_GNUTLS)
 LIB_DEPENDS+=		gnutls.40:${PORTSDIR}/security/gnutls
+CONFIGURE_ARGS+=	--with-ssl=gnutls
+.elif !defined(WITHOUT_OPENSSL)
+USE_OPENSSL=	yes
+CONFIGURE_ARGS+=	--with-ssl=openssl
 .else
 CONFIGURE_ARGS+=	--without-ssl
 .endif



-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia          | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
KDE at FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loudmouth.diff
Type: text/x-patch
Size: 1015 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20090817/3a766d0f/attachment.bin>


More information about the freebsd-ports-bugs mailing list