diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-10-14 22:39:29 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-10-14 22:39:29 +0000 |
commit | d8273d73233ecec1575575ab67240bc762885015 (patch) | |
tree | 1fc04894bb231bb6ca70785905f80f3e2a30cef9 /dev-libs/nettle/nettle-1.13-r1.ebuild | |
parent | Removed patches applied upstream for this version. (diff) | |
download | gentoo-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)
Diffstat (limited to 'dev-libs/nettle/nettle-1.13-r1.ebuild')
-rw-r--r-- | dev-libs/nettle/nettle-1.13-r1.ebuild | 13 |
1 files changed, 9 insertions, 4 deletions
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 } |