summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-09 16:01:44 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-01-09 16:01:44 +0000
commit339e0d32c34f13a38061a80930f9019aab9f6501 (patch)
treea741d33fe5406b8535e28c343b8bc0a3f2e6fe2c /sys-apps/kmod
parentBetter description (diff)
downloadhistorical-339e0d32c34f13a38061a80930f9019aab9f6501.tar.gz
historical-339e0d32c34f13a38061a80930f9019aab9f6501.tar.bz2
historical-339e0d32c34f13a38061a80930f9019aab9f6501.zip
only install compatibility symlinks if compat and tools are in use.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/kmod')
-rw-r--r--sys-apps/kmod/ChangeLog6
-rw-r--r--sys-apps/kmod/kmod-3.ebuild4
-rw-r--r--sys-apps/kmod/kmod-9999.ebuild4
3 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/kmod/ChangeLog b/sys-apps/kmod/ChangeLog
index 56988da16009..d4f0002319ba 100644
--- a/sys-apps/kmod/ChangeLog
+++ b/sys-apps/kmod/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/kmod
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.9 2012/01/09 14:27:36 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/ChangeLog,v 1.10 2012/01/09 16:01:44 williamh Exp $
+
+ 09 Jan 2012; William Hubbs <williamh@gentoo.org> kmod-3.ebuild,
+ kmod-9999.ebuild:
+ only install compatibility symlinks if compat and tools are in use.
09 Jan 2012; William Hubbs <williamh@gentoo.org> kmod-3.ebuild,
kmod-9999.ebuild, metadata.xml:
diff --git a/sys-apps/kmod/kmod-3.ebuild b/sys-apps/kmod/kmod-3.ebuild
index 0ac7780ebe68..b05ee8947804 100644
--- a/sys-apps/kmod/kmod-3.ebuild
+++ b/sys-apps/kmod/kmod-3.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-apps/kmod/kmod-3.ebuild,v 1.2 2012/01/09 14:27:36 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-3.ebuild,v 1.3 2012/01/09 16:01:44 williamh Exp $
EAPI=4
@@ -55,7 +55,7 @@ src_install()
# we have a .pc file for people to use
find "${D}" -name libkmod.la -delete
- if use compat; then
+ if use compat && use tools; then
dodir /sbin
for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
dosym /usr/bin/kmod /sbin/$cmd
diff --git a/sys-apps/kmod/kmod-9999.ebuild b/sys-apps/kmod/kmod-9999.ebuild
index d1f933502992..c5cb570a153d 100644
--- a/sys-apps/kmod/kmod-9999.ebuild
+++ b/sys-apps/kmod/kmod-9999.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-apps/kmod/kmod-9999.ebuild,v 1.5 2012/01/09 14:27:36 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/kmod/kmod-9999.ebuild,v 1.6 2012/01/09 16:01:44 williamh Exp $
EAPI=4
@@ -55,7 +55,7 @@ src_install()
# we have a .pc file for people to use
find "${D}" -name libkmod.la -delete
- if use compat; then
+ if use compat && use tools; then
dodir /sbin
for cmd in depmod insmod lsmod modinfo modprobe rmmod; do
dosym /usr/bin/kmod /sbin/$cmd