summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2013-01-12 19:02:41 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2013-01-12 19:02:41 +0000
commit642370241d5ce4d1be0e7f237398a868597c29f9 (patch)
tree80589b5efbc57931ccb3a761dabe996e0daac334 /dev-libs/botan/botan-1.10.3.ebuild
parentFixes bug 444214 (diff)
downloadgentoo-2-642370241d5ce4d1be0e7f237398a868597c29f9.tar.gz
gentoo-2-642370241d5ce4d1be0e7f237398a868597c29f9.tar.bz2
gentoo-2-642370241d5ce4d1be0e7f237398a868597c29f9.zip
Add bindist USE to disable ecdsa, bug#446226, thanks to Peter Stuge
(Portage version: 2.2.0_alpha151/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs/botan/botan-1.10.3.ebuild')
-rw-r--r--dev-libs/botan/botan-1.10.3.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/dev-libs/botan/botan-1.10.3.ebuild b/dev-libs/botan/botan-1.10.3.ebuild
index 153429ecfed2..f39e5a417c52 100644
--- a/dev-libs/botan/botan-1.10.3.ebuild
+++ b/dev-libs/botan/botan-1.10.3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.10.3.ebuild,v 1.1 2012/12/15 01:03:30 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/botan/botan-1.10.3.ebuild,v 1.2 2013/01/12 19:02:41 alonbl Exp $
EAPI="3"
#PYTHON_BDEPEND="2"
@@ -16,14 +16,14 @@ SRC_URI="http://files.randombit.net/botan/${MY_P}.tbz"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~ppc-macos"
SLOT="0"
LICENSE="BSD"
-IUSE="bzip2 gmp ssl threads zlib"
+IUSE="bindist bzip2 gmp ssl threads zlib"
S="${WORKDIR}/${MY_P}"
RDEPEND="bzip2? ( >=app-arch/bzip2-1.0.5 )
zlib? ( >=sys-libs/zlib-1.2.3 )
gmp? ( >=dev-libs/gmp-4.2.2 )
- ssl? ( >=dev-libs/openssl-0.9.8g )"
+ ssl? ( >=dev-libs/openssl-0.9.8g[bindist=] )"
DEPEND="${RDEPEND}
=dev-lang/python-2*"
@@ -44,6 +44,10 @@ src_configure() {
disable_modules="${disable_modules},pthreads"
fi
+ if use bindist; then
+ disable_modules="${disable_modules},ecdsa"
+ fi
+
# Enable v9 instructions for sparc64
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
CHOSTARCH="sparc32-v9"