summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/util-linux/util-linux-2.16.1.ebuild')
-rw-r--r--sys-apps/util-linux/util-linux-2.16.1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys-apps/util-linux/util-linux-2.16.1.ebuild b/sys-apps/util-linux/util-linux-2.16.1.ebuild
index 7649eb14329e..cfaf7dc0a618 100644
--- a/sys-apps/util-linux/util-linux-2.16.1.ebuild
+++ b/sys-apps/util-linux/util-linux-2.16.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.16.1.ebuild,v 1.1 2009/09/07 13:41:14 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.16.1.ebuild,v 1.2 2009/09/23 17:04:01 vapier Exp $
EAPI="2"
@@ -25,13 +25,14 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="crypt loop-aes nls old-linux selinux slang uclibc unicode"
+IUSE="crypt loop-aes nls old-linux perl selinux slang uclibc unicode"
RDEPEND="!sys-process/schedutils
!sys-apps/setarch
>=sys-libs/ncurses-5.2-r2
!<sys-libs/e2fsprogs-libs-1.41.8
!<sys-fs/e2fsprogs-1.41.8
+ perl? ( dev-lang/perl )
selinux? ( sys-libs/libselinux )
slang? ( sys-libs/slang )"
DEPEND="${RDEPEND}
@@ -77,6 +78,11 @@ src_install() {
emake install DESTDIR="${D}" || die "install failed"
dodoc AUTHORS NEWS README* TODO docs/*
+ if ! use perl ; then #284093
+ rm "${D}"/usr/bin/chkdupexe || die
+ rm "${D}"/usr/share/man/man1/chkdupexe.1 || die
+ fi
+
# need the libs in /
gen_usr_ldscript -a blkid uuid
# e2fsprogs-libs didnt install .la files, and .pc work fine