dev-embedded/sdcc: use dostrip in live ebuild as well
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 31 Aug 2019 12:14:37 +0000 (13:14 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 31 Aug 2019 12:16:32 +0000 (13:16 +0100)
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
dev-embedded/sdcc/sdcc-3.8.0-r1.ebuild
dev-embedded/sdcc/sdcc-9999.ebuild

index 79c2981dc3e6cf0eccc5b0590a20ecb5795370d3..08e64f35f2beac1f1d0f2247a29a7d41a620c194 100644 (file)
@@ -129,5 +129,5 @@ src_install() {
        # a bunch of archives (*.a) are built & installed by gputils
        # for PIC processors, but they do not work with standard `ar`
        # & `scanelf` utils and they're not for the host.
-       dostrip "${D%/}"/usr/bin
+       dostrip /usr/bin
 }
index efab11532f4c8a7c6ce7c1adadd02d398f6c144b..23c2e5edc149f656a2d25dae450f79ff846fd785 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 inherit autotools toolchain-funcs
 
 if [[ ${PV} == "9999" ]] ; then
@@ -129,8 +129,5 @@ src_install() {
        # a bunch of archives (*.a) are built & installed by gputils
        # for PIC processors, but they do not work with standard `ar`
        # & `scanelf` utils and they're not for the host.
-
-       # TODO: use dostrip from EAPI=7 when subversion gets EAPI=7
-       # in bug #678344:
-       #dostrip "${D%/}"/usr/bin
+       dostrip /usr/bin
 }