Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Aug 2009 18:25:14 +1100
From:      Dima Panov <Fluffy@fluffy.khv.ru>
To:        freebsd-ports-bugs@freebsd.org
Cc:        gnome@freebsd.org, freebsd-gnats-submit@freebsd.org, Andrei Lavreniyuk <andy.lavr@reactor-xg.kiev.ua>
Subject:   Re: ports/137866: Cannot compile ports/net-im/loudmouth (FreeBSD 8.0 BETA-2)
Message-ID:  <200908171825.16037.Fluffy@fluffy.khv.ru>
In-Reply-To: <200908170646.n7H6kjmD026803@www.freebsd.org>
References:  <200908170646.n7H6kjmD026803@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_bXQiKNFa1m5rPUT
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit

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@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@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

--Boundary-00=_bXQiKNFa1m5rPUT
Content-Type: text/x-patch;
  charset="UTF-8";
  name="loudmouth.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="loudmouth.diff"

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

--Boundary-00=_bXQiKNFa1m5rPUT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908171825.16037.Fluffy>