summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-17 19:51:48 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-17 19:51:48 +0000
commit3034716520b49a26da7236a71611978be9725a3f (patch)
tree31a7b2fdd2af51091ff16d14c6265cf0d8d6bda3 /sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild
parentRevert previous commit and apply the patch in revision bump for 4.5.5 (diff)
downloadgentoo-2-3034716520b49a26da7236a71611978be9725a3f.tar.gz
gentoo-2-3034716520b49a26da7236a71611978be9725a3f.tar.bz2
gentoo-2-3034716520b49a26da7236a71611978be9725a3f.zip
Require new dev-libs/libgcrypt[static-libs] too #351810.
(Portage version: 2.2.0_alpha13/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild')
-rw-r--r--sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild b/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild
index c74f8132407a..d45ef69d417c 100644
--- a/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild,v 1.1 2011/01/12 23:36:42 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.1.3-r3.ebuild,v 1.2 2011/01/17 19:51:48 vapier Exp $
EAPI="2"
@@ -18,7 +18,7 @@ IUSE="dynamic nls selinux"
S=${WORKDIR}/${MY_P}
-DEPEND=">=sys-fs/lvm2-2.02.64
+RDEPEND=">=sys-fs/lvm2-2.02.64
>=dev-libs/libgcrypt-1.1.42
>=dev-libs/libgpg-error-1.0-r1
>=dev-libs/popt-1.7
@@ -26,6 +26,11 @@ DEPEND=">=sys-fs/lvm2-2.02.64
|| ( >=sys-libs/e2fsprogs-libs-1.41 <sys-fs/e2fsprogs-1.41 )
selinux? ( sys-libs/libselinux )
!sys-fs/cryptsetup-luks"
+DEPEND="${RDEPEND}
+ !dynamic? (
+ || ( >=dev-libs/libgpg-error-1.10[static-libs] <dev-libs/libgpg-error-1.10 )
+ dev-libs/libgcrypt[static-libs]
+ )"
pkg_setup() {
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC"