From 06faa5e8d3a3f5da2d6b440cd4fa69b9a126c2bc Mon Sep 17 00:00:00 2001 From: Markus Ullmann Date: Wed, 14 Nov 2007 20:12:38 +0000 Subject: Check for nettle being built with ssl flag (Portage version: 2.1.3.19) --- net-misc/lsh/ChangeLog | 5 ++++- net-misc/lsh/lsh-2.0.1-r2.ebuild | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'net-misc/lsh') diff --git a/net-misc/lsh/ChangeLog b/net-misc/lsh/ChangeLog index 4f2ae1f26fe6..4c11d8dfc241 100644 --- a/net-misc/lsh/ChangeLog +++ b/net-misc/lsh/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-misc/lsh # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/ChangeLog,v 1.18 2007/07/22 08:18:08 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/ChangeLog,v 1.19 2007/11/14 20:12:38 jokey Exp $ + + 14 Nov 2007; Markus Ullmann lsh-2.0.1-r2.ebuild: + Check for nettle being built with ssl flag 22 Jul 2007; Donnie Berkholz ; lsh-2.0.1-r2.ebuild: Drop virtual/x11 references. diff --git a/net-misc/lsh/lsh-2.0.1-r2.ebuild b/net-misc/lsh/lsh-2.0.1-r2.ebuild index a51b9e56beb9..793c64c2d937 100644 --- a/net-misc/lsh/lsh-2.0.1-r2.ebuild +++ b/net-misc/lsh/lsh-2.0.1-r2.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-misc/lsh/lsh-2.0.1-r2.ebuild,v 1.8 2007/07/22 08:18:08 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/lsh/lsh-2.0.1-r2.ebuild,v 1.9 2007/11/14 20:12:38 jokey Exp $ inherit eutils @@ -26,6 +26,13 @@ RDEPEND="dev-libs/gmp DEPEND="${RDEPEND} dev-scheme/guile" +pkg_setup() { + if ! built_with_use dev-libs/nettle ssl ; then + eerror "Please rebuild dev-libs/nettle with enabled ssl useflag" + die "dev-libs/nettle needs rebuilding with ssl useflag" + fi +} + src_unpack() { unpack ${A} cd "${S}" -- cgit v1.2.3-65-gdbad