summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-08-11 18:29:21 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-08-11 18:29:21 +0000
commit324812694cc01c8582a3e103e0b4763a724ca3a6 (patch)
tree8fabc1b783b43ab13d0064237379421413321e37 /sys-fs/udev
parentunmask celt for masked ffmpeg releases (diff)
downloadgentoo-2-324812694cc01c8582a3e103e0b4763a724ca3a6.tar.gz
gentoo-2-324812694cc01c8582a3e103e0b4763a724ca3a6.tar.bz2
gentoo-2-324812694cc01c8582a3e103e0b4763a724ca3a6.zip
Move symlinking udevadm and renaming of udevd from multilib_src_install_all() to multilib_src_install() inside the if and else for multilib_is_native_abi.
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/ChangeLog7
-rw-r--r--sys-fs/udev/udev-206-r3.ebuild18
-rw-r--r--sys-fs/udev/udev-9999.ebuild18
3 files changed, 24 insertions, 19 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index d30b0b78ef2b..36d198b47e5f 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.953 2013/08/11 17:47:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.954 2013/08/11 18:29:21 ssuominen Exp $
+
+ 11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> udev-206-r3.ebuild,
+ udev-9999.ebuild:
+ Move symlinking udevadm and renaming of udevd from multilib_src_install_all()
+ to multilib_src_install() inside the if and else for multilib_is_native_abi.
11 Aug 2013; Samuli Suominen <ssuominen@gentoo.org> udev-206-r3.ebuild,
udev-9999.ebuild:
diff --git a/sys-fs/udev/udev-206-r3.ebuild b/sys-fs/udev/udev-206-r3.ebuild
index d0ba506eacee..f4262da15f1c 100644
--- a/sys-fs/udev/udev-206-r3.ebuild
+++ b/sys-fs/udev/udev-206-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-206-r3.ebuild,v 1.2 2013/08/11 17:47:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-206-r3.ebuild,v 1.3 2013/08/11 18:29:21 ssuominen Exp $
EAPI=5
@@ -359,6 +359,14 @@ multilib_src_install() {
emake -C docs/libudev DESTDIR="${D}" install
use gudev && emake -C docs/gudev DESTDIR="${D}" install
fi
+
+ # install udevadm compatibility symlink
+ dosym {../bin,sbin}/udevadm
+
+ # install udevd to /sbin and remove empty and redudant directory
+ # /lib/systemd because systemd is installed to /usr wrt #462750
+ mv "${D}"/{lib/systemd/systemd-,sbin/}udevd || die
+ rm -r "${D}"/lib/systemd
else
local lib_LTLIBRARIES="libudev.la" \
pkgconfiglib_DATA="src/libudev/libudev.pc" \
@@ -391,14 +399,6 @@ multilib_src_install_all() {
insinto /lib/udev/rules.d
doins "${T}"/40-gentoo.rules
doman "${T}"/{systemd-,}udevd.8
-
- # install udevadm compatibility symlink
- dosym {../bin,sbin}/udevadm
-
- # install udevd to /sbin and remove empty and redudant directory
- # /lib/systemd because systemd is installed to /usr wrt #462750
- mv "${D}"/{lib/systemd/systemd-,sbin/}udevd || die
- rm -r "${D}"/lib/systemd
}
pkg_preinst() {
diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild
index 65e0ea25367d..3d9b7193a5cf 100644
--- a/sys-fs/udev/udev-9999.ebuild
+++ b/sys-fs/udev/udev-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.248 2013/08/11 17:47:52 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.249 2013/08/11 18:29:21 ssuominen Exp $
EAPI=5
@@ -359,6 +359,14 @@ multilib_src_install() {
emake -C docs/libudev DESTDIR="${D}" install
use gudev && emake -C docs/gudev DESTDIR="${D}" install
fi
+
+ # install udevadm compatibility symlink
+ dosym {../bin,sbin}/udevadm
+
+ # install udevd to /sbin and remove empty and redudant directory
+ # /lib/systemd because systemd is installed to /usr wrt #462750
+ mv "${D}"/{lib/systemd/systemd-,sbin/}udevd || die
+ rm -r "${D}"/lib/systemd
else
local lib_LTLIBRARIES="libudev.la" \
pkgconfiglib_DATA="src/libudev/libudev.pc" \
@@ -391,14 +399,6 @@ multilib_src_install_all() {
insinto /lib/udev/rules.d
doins "${T}"/40-gentoo.rules
doman "${T}"/{systemd-,}udevd.8
-
- # install udevadm compatibility symlink
- dosym {../bin,sbin}/udevadm
-
- # install udevd to /sbin and remove empty and redudant directory
- # /lib/systemd because systemd is installed to /usr wrt #462750
- mv "${D}"/{lib/systemd/systemd-,sbin/}udevd || die
- rm -r "${D}"/lib/systemd
}
pkg_preinst() {