Skip to content

Commit

Permalink
app-admin/chrpath: update EAPI 7 -> 8
Browse files Browse the repository at this point in the history
* remove USE="static-libs" since there is no
  rationale given for keeping it.

Signed-off-by: David Seifert <[email protected]>
  • Loading branch information
SoapGentoo committed Jul 29, 2022
1 parent 5d51a5a commit d43bdb4
Showing 1 changed file with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

inherit autotools

Expand All @@ -12,7 +12,6 @@ SRC_URI="https://alioth-archive.debian.org/releases/${PN}/${PN}/${PV}/${P}.tar.g
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm ~arm64 ~mips ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="static-libs"

PATCHES=(
"${FILESDIR}"/${P}-multilib.patch
Expand All @@ -29,13 +28,7 @@ src_prepare() {
eautoreconf
}

src_configure() {
econf $(use_enable static-libs static)
}

src_install() {
default
if ! use static-libs; then
find "${D}" -name "*.la" -delete || die
fi
find "${ED}" -name '*.la' -delete || die
}

0 comments on commit d43bdb4

Please sign in to comment.