From: William Hubbs Date: Mon, 9 Jan 2012 16:01:44 +0000 (+0000) Subject: only install compatibility symlinks if compat and tools are in use. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=339e0d32c34f13a38061a80930f9019aab9f6501;p=gentoo.git only install compatibility symlinks if compat and tools are in use. Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64 --- 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 kmod-3.ebuild, + kmod-9999.ebuild: + only install compatibility symlinks if compat and tools are in use. 09 Jan 2012; William Hubbs 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