summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-03-30 17:06:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-03-30 17:06:50 +0000
commit8ee89834ae20adf4e7957536c6d1b412170de494 (patch)
tree9e249c0122bc5b6c05d2522cebf7b28bc9c5f835 /sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild
parentFix two small issues, spotted by Sławomir Nizio <slawomir.nizio@sabayon.org>. (diff)
downloadhistorical-8ee89834ae20adf4e7957536c6d1b412170de494.tar.gz
historical-8ee89834ae20adf4e7957536c6d1b412170de494.tar.bz2
historical-8ee89834ae20adf4e7957536c6d1b412170de494.zip
Fix dependencies on util-linux with USE=static (bug #410251, thanks to Fernando V.).
Package-Manager: portage-2.2.0_alpha96/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild')
-rw-r--r--sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild b/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild
index 10c226c08e71..cf4b176b3cf7 100644
--- a/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild
+++ b/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild,v 1.6 2012/03/25 16:29:31 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/xfsprogs/xfsprogs-3.1.7.ebuild,v 1.7 2012/03/30 17:06:50 flameeyes Exp $
EAPI="3"
@@ -16,7 +16,7 @@ SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 ~sh ~sparc x86"
IUSE="libedit nls readline static static-libs"
-RDEPEND=">=sys-apps/util-linux-2.17.2
+RDEPEND="!static? ( >=sys-apps/util-linux-2.17.2 )
!<sys-fs/xfsdump-3
readline? (
sys-libs/readline
@@ -24,6 +24,7 @@ RDEPEND=">=sys-apps/util-linux-2.17.2
)
!readline? ( libedit? ( dev-libs/libedit ) )"
DEPEND="${RDEPEND}
+ static? ( || ( sys-apps/util-linux[static-libs] <sys-apps/util-linux-2.20 ) )
nls? ( sys-devel/gettext )"
pkg_setup() {