Skip to content

Commit

Permalink
dev-embedded/sdcc: drop prepstrip, bug #587310
Browse files Browse the repository at this point in the history
Reported-by: Michał Górny
Closes: https://bugs.gentoo.org/587310
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <[email protected]>
  • Loading branch information
Sergei Trofimovich committed Feb 18, 2019
1 parent 61f1fce commit 07249f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
7 changes: 1 addition & 6 deletions dev-embedded/sdcc/sdcc-3.5.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="5"
Expand Down Expand Up @@ -112,9 +112,4 @@ src_install() {
docs_compile || cd "${WORKDIR}"/doc
dohtml -r *
fi

# 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.
env RESTRICT="" prepstrip "${D%/}"/usr/bin
}
7 changes: 1 addition & 6 deletions dev-embedded/sdcc/sdcc-3.8.0.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -125,9 +125,4 @@ src_install() {
cd "${WORKDIR}"/doc
dodoc -r *
fi

# 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.
env RESTRICT="" prepstrip "${D%/}"/usr/bin
}
7 changes: 5 additions & 2 deletions dev-embedded/sdcc/sdcc-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
Expand Down Expand Up @@ -129,5 +129,8 @@ 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.
env RESTRICT="" prepstrip "${D%/}"/usr/bin

# TODO: use dostrip from EAPI=7 when subversion gets EAPI=7
# in bug #678344:
#dostrip "${D%/}"/usr/bin
}

0 comments on commit 07249f0

Please sign in to comment.