summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2007-11-04 23:47:54 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2007-11-04 23:47:54 +0000
commit627732ae025bc3bb4af70b58dd13a7a42920e1d5 (patch)
tree49c60cd9b6564c8d219d5834e5487149b1c282a3 /net-libs
parentUncommend ppc stuff. (diff)
downloadgentoo-2-627732ae025bc3bb4af70b58dd13a7a42920e1d5.tar.gz
gentoo-2-627732ae025bc3bb4af70b58dd13a7a42920e1d5.tar.bz2
gentoo-2-627732ae025bc3bb4af70b58dd13a7a42920e1d5.zip
add the possibility to use openssl in place of gnutls
(Portage version: 2.1.3.16)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/loudmouth/ChangeLog6
-rw-r--r--net-libs/loudmouth/loudmouth-1.2.3.ebuild19
2 files changed, 20 insertions, 5 deletions
diff --git a/net-libs/loudmouth/ChangeLog b/net-libs/loudmouth/ChangeLog
index 0e911d4b92ea..f1567f1c88d3 100644
--- a/net-libs/loudmouth/ChangeLog
+++ b/net-libs/loudmouth/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/loudmouth
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/ChangeLog,v 1.49 2007/06/14 05:45:06 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/ChangeLog,v 1.50 2007/11/04 23:47:54 eva Exp $
+
+ 04 Nov 2007; Gilles Dartiguelongue <eva@gentoo.org>
+ loudmouth-1.2.3.ebuild:
+ add the possibility to use openssl instead of gnutls
14 Jun 2007; Stefan Schweizer <genstef@gentoo.org> metadata.xml,
loudmouth-1.2.3.ebuild:
diff --git a/net-libs/loudmouth/loudmouth-1.2.3.ebuild b/net-libs/loudmouth/loudmouth-1.2.3.ebuild
index dea3828049e9..ac2a26f83798 100644
--- a/net-libs/loudmouth/loudmouth-1.2.3.ebuild
+++ b/net-libs/loudmouth/loudmouth-1.2.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.2.3.ebuild,v 1.2 2007/06/14 05:45:06 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/loudmouth/loudmouth-1.2.3.ebuild,v 1.3 2007/11/04 23:47:54 eva Exp $
inherit gnome2
@@ -12,10 +12,13 @@ LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="doc ssl debug test"
+IUSE="doc gnutls ssl debug test"
RDEPEND=">=dev-libs/glib-2.4
- ssl? ( >=net-libs/gnutls-1.4.0 )"
+ ssl? ( || (
+ gnutls? ( >=net-libs/gnutls-1.4.0 )
+ dev-libs/openssl
+ ) )"
DEPEND="${RDEPEND}
test? ( dev-libs/check )
@@ -25,7 +28,15 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README"
pkg_setup() {
- G2CONF="$(use_enable ssl) \
+ G2CONF="${G2CONF}
$(use_enable debug) \
$(use_enable doc gtk-doc)"
+
+ if use ssl && use gnutls; then
+ G2CONF="${G2CONF} --with-ssl=gnutls"
+ elif use ssl; then
+ G2CONF="${G2CONF} --with-ssl=openssl"
+ else
+ G2CONF="${G2CONF} --with-ssl=no"
+ fi
}