1 |
commit: 7bc52877d33171917fc155ef20aca5e9ec4b711c |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 27 18:45:51 2018 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 27 18:45:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bc52877 |
7 |
|
8 |
sys-apps/openrc: copy /libxx/rc to /lib/rc for non-linux systems |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
sys-apps/openrc/openrc-9999.ebuild | 4 ++++ |
13 |
1 file changed, 4 insertions(+) |
14 |
|
15 |
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild |
16 |
index 50d119646c7..e261b2d39bd 100644 |
17 |
--- a/sys-apps/openrc/openrc-9999.ebuild |
18 |
+++ b/sys-apps/openrc/openrc-9999.ebuild |
19 |
@@ -300,6 +300,10 @@ pkg_postinst() { |
20 |
if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then |
21 |
cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"lib |
22 |
fi |
23 |
+ elif ! use kernel_linux; then |
24 |
+ if [[ -d "${EROOT}$(get_libdir)"/rc ]]; then |
25 |
+ cp -RPp "${EROOT}$(get_libdir)/rc" "${EROOT}"lib |
26 |
+ fi |
27 |
fi |
28 |
|
29 |
# update the dependency tree after touching all files #224171 |