commit:     efbc8672702ee23a6d4f7f40da596cbcfe9144f5
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 13:34:56 2021 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 14:12:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efbc8672

sys-apps/lshw: fix installation on prefix

The call to default src_install caused installation to happen twice,
once into /usr, then another time into ${EPREFIX}/usr in the next line.

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>

 sys-apps/lshw/lshw-02.19.2b.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sys-apps/lshw/lshw-02.19.2b.ebuild 
b/sys-apps/lshw/lshw-02.19.2b.ebuild
index 471abbf1b24..9ddf5f85eb2 100644
--- a/sys-apps/lshw/lshw-02.19.2b.ebuild
+++ b/sys-apps/lshw/lshw-02.19.2b.ebuild
@@ -70,7 +70,6 @@ src_compile() {
 }
 
 src_install() {
-       default
        emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install $(usex gtk 
'install-gui' '')
        if use gtk ; then
                newicon -s scalable src/gui/artwork/logo.svg gtk-lshw.svg

Reply via email to