summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-14 22:39:29 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-14 22:39:29 +0000
commitd8273d73233ecec1575575ab67240bc762885015 (patch)
tree1fc04894bb231bb6ca70785905f80f3e2a30cef9
parentRemoved patches applied upstream for this version. (diff)
downloadgentoo-2-d8273d73233ecec1575575ab67240bc762885015.tar.gz
gentoo-2-d8273d73233ecec1575575ab67240bc762885015.tar.bz2
gentoo-2-d8273d73233ecec1575575ab67240bc762885015.zip
Add support for gmp/ssl USE flags.
(Portage version: 2.0.53_rc5)
-rw-r--r--dev-libs/nettle/ChangeLog5
-rw-r--r--dev-libs/nettle/nettle-1.13-r1.ebuild13
2 files changed, 13 insertions, 5 deletions
diff --git a/dev-libs/nettle/ChangeLog b/dev-libs/nettle/ChangeLog
index 7540fe72affa..3a8f514cc413 100644
--- a/dev-libs/nettle/ChangeLog
+++ b/dev-libs/nettle/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/nettle
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.10 2005/10/13 05:28:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/ChangeLog,v 1.11 2005/10/14 22:39:29 vapier Exp $
+
+ 14 Oct 2005; Mike Frysinger <vapier@gentoo.org> nettle-1.13-r1.ebuild:
+ Add support for gmp/ssl USE flags.
*nettle-1.13-r1 (13 Oct 2005)
diff --git a/dev-libs/nettle/nettle-1.13-r1.ebuild b/dev-libs/nettle/nettle-1.13-r1.ebuild
index f21660fa682e..e8cb73f93b7f 100644
--- a/dev-libs/nettle/nettle-1.13-r1.ebuild
+++ b/dev-libs/nettle/nettle-1.13-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-1.13-r1.ebuild,v 1.1 2005/10/13 05:28:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nettle/nettle-1.13-r1.ebuild,v 1.2 2005/10/14 22:39:29 vapier Exp $
inherit eutils
@@ -11,9 +11,10 @@ SRC_URI="http://www.lysator.liu.se/~nisse/archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="gmp ssl"
-DEPEND="dev-libs/gmp
+DEPEND="gmp? ( dev-libs/gmp )
+ ssl? ( dev-libs/openssl )
!<dev-libs/lsh-1.4.3-r1"
src_unpack() {
@@ -28,7 +29,11 @@ src_unpack() {
}
src_compile() {
- econf --enable-shared || die
+ econf \
+ --enable-shared \
+ $(use_enable ssl openssl) \
+ $(use_enable gmp public-key) \
+ || die
emake || die
}