ports/137866: Cannot compile ports/net-im/loudmouth (FreeBSD
8.0 BETA-2)
Dima Panov
Fluffy at fluffy.khv.ru
Mon Aug 17 07:30:19 UTC 2009
The following reply was made to PR ports/137866; it has been noted by GNATS.
From: Dima Panov <Fluffy at fluffy.khv.ru>
To: freebsd-ports-bugs at freebsd.org
Cc: Andrei Lavreniyuk <andy.lavr at reactor-xg.kiev.ua>,
freebsd-gnats-submit at freebsd.org, gnome at freebsd.org
Subject: Re: ports/137866: Cannot compile ports/net-im/loudmouth (FreeBSD 8.0 BETA-2)
Date: Mon, 17 Aug 2009 18:25:14 +1100
--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 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
--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--
More information about the freebsd-gnome
mailing list