diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-06-16 23:50:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-06-16 23:50:31 +0000 |
commit | f62c5d695aa99e1be51cecdd6d1202777aa0c9a7 (patch) | |
tree | 88583ad9613feaf205c40ca282a6a77ca973346d /sys-apps | |
parent | New ebuild for bug #150824 (diff) | |
download | gentoo-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.ebuild | 8 |
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 |