summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-03-11 10:39:05 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-03-11 10:39:05 +0100
commitc9525e73f784cb12512b0ff50a73096519a9d60b (patch)
tree12d73e19ecd323afda8cbfda41a773127de1bc07 /dev-libs
parentdev-libs/nspr: Bump to version 4.21 (diff)
downloadgentoo-c9525e73f784cb12512b0ff50a73096519a9d60b.tar.gz
gentoo-c9525e73f784cb12512b0ff50a73096519a9d60b.tar.bz2
gentoo-c9525e73f784cb12512b0ff50a73096519a9d60b.zip
dev-libs/nspr: Minor ebuild cleanups.
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nspr/nspr-4.20.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/dev-libs/nspr/nspr-4.20.ebuild b/dev-libs/nspr/nspr-4.20.ebuild
index ea8f3402c40..f20d29ee341 100644
--- a/dev-libs/nspr/nspr-4.20.ebuild
+++ b/dev-libs/nspr/nspr-4.20.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit autotools eutils multilib toolchain-funcs multilib-minimal
+inherit autotools toolchain-funcs multilib-minimal
MIN_PV="$(ver_cut 2)"
@@ -103,16 +103,16 @@ multilib_src_install() {
emake DESTDIR="${D}" install
einfo "removing static libraries as upstream has requested!"
- rm "${ED%/}"/usr/$(get_libdir)/*.a || die "failed to remove static libraries."
+ rm "${ED}"/usr/$(get_libdir)/*.a || die "failed to remove static libraries."
# install nspr-config
dobin config/nspr-config
# Remove stupid files in /usr/bin
- rm "${ED%/}"/usr/bin/prerr.properties || die
+ rm "${ED}"/usr/bin/prerr.properties || die
# This is used only to generate prerr.c and prerr.h at build time.
# No other projects use it, and we don't want to depend on perl.
# Talked to upstream and they agreed w/punting.
- rm "${ED%/}"/usr/bin/compile-et.pl || die
+ rm "${ED}"/usr/bin/compile-et.pl || die
}