commit:     aa153e0662a8c78bae68eaf1f56348788de62b8c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  3 17:48:05 2023 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 18:02:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa153e06

sys-devel/crossdev: depend on sys-apps/config-site

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../{crossdev-99999999.ebuild => crossdev-20230209-r1.ebuild}         | 4 ++++
 sys-devel/crossdev/crossdev-99999999.ebuild                           | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/sys-devel/crossdev/crossdev-99999999.ebuild 
b/sys-devel/crossdev/crossdev-20230209-r1.ebuild
similarity index 88%
copy from sys-devel/crossdev/crossdev-99999999.ebuild
copy to sys-devel/crossdev/crossdev-20230209-r1.ebuild
index 4cb66350d4ce..d15bf1ee5010 100644
--- a/sys-devel/crossdev/crossdev-99999999.ebuild
+++ b/sys-devel/crossdev/crossdev-20230209-r1.ebuild
@@ -25,6 +25,7 @@ RDEPEND="
        >=sys-apps/portage-2.1
        app-shells/bash
        sys-apps/gentoo-functions
+       sys-apps/config-site
 "
 BDEPEND="app-arch/xz-utils"
 
@@ -34,4 +35,7 @@ src_install() {
        if [[ ${PV} == "99999999" ]] ; then
                sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev 
|| die
        fi
+
+       dodir /usr/share/config.site.d
+       mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
 }

diff --git a/sys-devel/crossdev/crossdev-99999999.ebuild 
b/sys-devel/crossdev/crossdev-99999999.ebuild
index 4cb66350d4ce..d15bf1ee5010 100644
--- a/sys-devel/crossdev/crossdev-99999999.ebuild
+++ b/sys-devel/crossdev/crossdev-99999999.ebuild
@@ -25,6 +25,7 @@ RDEPEND="
        >=sys-apps/portage-2.1
        app-shells/bash
        sys-apps/gentoo-functions
+       sys-apps/config-site
 "
 BDEPEND="app-arch/xz-utils"
 
@@ -34,4 +35,7 @@ src_install() {
        if [[ ${PV} == "99999999" ]] ; then
                sed -i "s:@CDEVPV@:${EGIT_VERSION}:" "${ED}"/usr/bin/crossdev 
|| die
        fi
+
+       dodir /usr/share/config.site.d
+       mv "${ED}"/usr/share/config.site{,.d/80crossdev.conf} || die
 }

Reply via email to