commit:     e96ccd3d636a4af6bfd4c5b86500c5e4ccd30b8a
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 27 18:25:28 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 27 18:27:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96ccd3d

sys-apps/baselayout: install sysctl.d and modprobe.d in /lib on linux

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-apps/baselayout/baselayout-9999.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/baselayout/baselayout-9999.ebuild 
b/sys-apps/baselayout/baselayout-9999.ebuild
index fd82615d04a..5df53f3739a 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -244,10 +244,15 @@ src_prepare() {
 }
 
 src_install() {
+       dodir /usr/lib
        emake \
                OS=$(usex kernel_FreeBSD BSD Linux) \
                DESTDIR="${ED}" \
                install
+       if use kernel_linux; then
+               insinto /lib
+               doins -r lib.Linux/*
+       fi
        dodoc ChangeLog
 
        # need the makefile in pkg_preinst

Reply via email to