dev-cpp/libmcpp: drop static-libs from 2.7.2_p5

May as well take the opportunity.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-03-27 04:50:35 +00:00
parent ec553e017c
commit 7d648ad70a

View File

@@ -17,7 +17,6 @@ S="${WORKDIR}"/${MY_P}
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ia64 ~x86 ~x86-linux ~x64-macos"
IUSE="static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-2.7.2-fix-build-system.patch
@@ -38,13 +37,11 @@ src_prepare() {
src_configure() {
econf \
--enable-mcpplib \
$(use_enable static-libs static)
--disable-static
}
src_install() {
default
if ! use static-libs; then
find "${D}" -name '*.la' -delete || die
fi
find "${ED}" -name '*.la' -delete || die
}