summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-09-27 15:29:10 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-09-27 15:38:22 -0500
commit9a9deabd0fe4d01d457ef808e6fdaac36bd1ef81 (patch)
tree196d7711921c5ec9d2a28daf27621fa481c0a942 /sys-apps/baselayout
parentdev-lua/luaposix: update to 35.1 (diff)
downloadgentoo-9a9deabd0fe4d01d457ef808e6fdaac36bd1ef81.tar.gz
gentoo-9a9deabd0fe4d01d457ef808e6fdaac36bd1ef81.tar.bz2
gentoo-9a9deabd0fe4d01d457ef808e6fdaac36bd1ef81.zip
Revert "sys-apps/baselayout: stop using install target in makefile"
This reverts commit d2c10afa5573e5efaf1f6845cb47e3f8cc226812. It will be cleaner to use the Makefile where possible. Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-apps/baselayout')
-rw-r--r--sys-apps/baselayout/baselayout-9999.ebuild21
1 files changed, 7 insertions, 14 deletions
diff --git a/sys-apps/baselayout/baselayout-9999.ebuild b/sys-apps/baselayout/baselayout-9999.ebuild
index 9988d48fbad6..5df53f3739ae 100644
--- a/sys-apps/baselayout/baselayout-9999.ebuild
+++ b/sys-apps/baselayout/baselayout-9999.ebuild
@@ -244,27 +244,20 @@ src_prepare() {
}
src_install() {
- local OS="$(usex kernel_linux 'Linux' 'BSD')"
- insinto /etc
- doins -r etc/* etc.${OS}/*
- printf '%s\n' "Gentoo Base System release ${PV}" > "${T}"/gentoo-release
- doins "${T}"/gentoo-release
- dosym ../usr/lib/os-release /etc/os-release
-
+ 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
- insinto /usr/lib
- ./make_os_release ${OS} ${PV} > "${T}"/os-release
- doins "${T}"/os-release
+ dodoc ChangeLog
- insinto /usr/share/${PN}
- doins -r share.${OS}/*
# need the makefile in pkg_preinst
+ insinto /usr/share/${PN}
doins Makefile
-
- dodoc ChangeLog
}
pkg_postinst() {