summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-01-15 23:44:17 +0000
committerMike Frysinger <vapier@gentoo.org>2011-01-15 23:44:17 +0000
commitc4944fed02d05f300ecd753a180b3da99c668b55 (patch)
tree79128130a9d1625fb7961633fd6c040d83157a36 /sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild
parentVersion bump. (diff)
downloadhistorical-c4944fed02d05f300ecd753a180b3da99c668b55.tar.gz
historical-c4944fed02d05f300ecd753a180b3da99c668b55.tar.bz2
historical-c4944fed02d05f300ecd753a180b3da99c668b55.zip
Require libgpg-error[static-libs] when USE=static #351810 by Peter Volkov.
Package-Manager: portage-2.2.0_alpha13/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild')
-rw-r--r--sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild b/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild
index 289cfa7f4b5b..3c3e2add3304 100644
--- a/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild
+++ b/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.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.2.0-r1.ebuild,v 1.3 2011/01/08 00:52:21 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cryptsetup/cryptsetup-1.2.0-r1.ebuild,v 1.4 2011/01/15 23:44:17 vapier Exp $
EAPI="2"
@@ -18,14 +18,16 @@ IUSE="+static 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
+ !static? ( dev-libs/libgpg-error )
>=dev-libs/popt-1.7
>=sys-fs/udev-124
|| ( >=sys-libs/e2fsprogs-libs-1.41 <sys-fs/e2fsprogs-1.41 )
selinux? ( sys-libs/libselinux )
!sys-fs/cryptsetup-luks"
+DEPEND="${RDEPEND}
+ static? ( || ( >=dev-libs/libgpg-error-1.10[static-libs] <dev-libs/libgpg-error-1.10 ) )"
pkg_setup() {
local CONFIG_CHECK="~DM_CRYPT ~CRYPTO ~CRYPTO_CBC"