summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-16 23:50:31 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-16 23:50:31 +0000
commitf62c5d695aa99e1be51cecdd6d1202777aa0c9a7 (patch)
tree88583ad9613feaf205c40ca282a6a77ca973346d /sys-apps
parentNew ebuild for bug #150824 (diff)
downloadgentoo-2-f62c5d695aa99e1be51cecdd6d1202777aa0c9a7.tar.gz
gentoo-2-f62c5d695aa99e1be51cecdd6d1202777aa0c9a7.tar.bz2
gentoo-2-f62c5d695aa99e1be51cecdd6d1202777aa0c9a7.zip
only install crypto-loop files when USE=crypt #181750
(Portage version: 2.1.3_rc3)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/util-linux/util-linux-2.12r-r7.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-apps/util-linux/util-linux-2.12r-r7.ebuild b/sys-apps/util-linux/util-linux-2.12r-r7.ebuild
index 2c5cf48e3bb2..7abb01d238af 100644
--- a/sys-apps/util-linux/util-linux-2.12r-r7.ebuild
+++ b/sys-apps/util-linux/util-linux-2.12r-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 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.12r-r7.ebuild,v 1.8 2007/06/15 23:30:31 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12r-r7.ebuild,v 1.9 2007/06/16 23:50:31 vapier Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -167,8 +167,10 @@ src_install() {
# required by autotools
dosym /bin/arch /usr/bin/arch
- newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop
- newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop
+ if use crypt || use old-crypt ; then
+ newinitd "${FILESDIR}"/crypto-loop.initd crypto-loop
+ newconfd "${FILESDIR}"/crypto-loop.confd crypto-loop
+ fi
# man-pages installs renice(1p) but util-linux does renice(8)
dosym ../man8/renice.8 /usr/share/man/man1/renice.1