commit:     955b84bad9b4a6003e132afd18b557215534eb73
Author:     Mikk Margus Möll <mikk.margus.moll <AT> eesti <DOT> ee>
AuthorDate: Thu Dec 22 18:28:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan  4 05:48:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=955b84ba

net-analyzer/macchanger: fix building on USE="-split-usr" systems

Closes: https://bugs.gentoo.org/886121
Signed-off-by: Mikk Margus Möll <mikk.margus.moll <AT> eesti.ee>
Closes: https://github.com/gentoo/gentoo/pull/28763
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...macchanger-1.7.0_p5_p4.ebuild => macchanger-1.7.0_p5_p4-r1.ebuild} | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-analyzer/macchanger/macchanger-1.7.0_p5_p4.ebuild 
b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild
similarity index 92%
rename from net-analyzer/macchanger/macchanger-1.7.0_p5_p4.ebuild
rename to net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild
index ed18fd45624d..2bce7cea0e43 100644
--- a/net-analyzer/macchanger/macchanger-1.7.0_p5_p4.ebuild
+++ b/net-analyzer/macchanger/macchanger-1.7.0_p5_p4-r1.ebuild
@@ -29,7 +29,7 @@ S=${WORKDIR}/${P/_p*}
 src_configure() {
        # Shared data is installed below /lib, see Bug #57046
        econf \
-               --bindir="${EPREFIX}/sbin" \
+               --bindir="${EPREFIX}/usr/bin" \
                --datadir="${EPREFIX}/lib"
 }
 
@@ -38,7 +38,5 @@ src_install() {
 
        newdoc "${WORKDIR}"/debian/changelog debian.changelog
 
-       dodir /usr/bin
-       dosym ../../sbin/macchanger /usr/bin/macchanger
        dosym ../../lib/macchanger /usr/share/macchanger
 }

Reply via email to