diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-11 11:08:38 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-09-11 11:09:32 +0200 |
commit | 841dd747e05360ff8feb1be133ec32930b5c8d71 (patch) | |
tree | 86584122f694eff279bcaf1a0058c45aa04951a2 /dev-libs/libcdio-paranoia | |
parent | dev-libs/libcdio-paranoia: Removed old (diff) | |
download | gentoo-841dd747e05360ff8feb1be133ec32930b5c8d71.tar.gz gentoo-841dd747e05360ff8feb1be133ec32930b5c8d71.tar.bz2 gentoo-841dd747e05360ff8feb1be133ec32930b5c8d71.zip |
dev-libs/libcdio-paranoia: Make USE="-static-libs" do something
Thanks-to: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Closes: https://bugs.gentoo.org/694026
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'dev-libs/libcdio-paranoia')
-rw-r--r-- | dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild (renamed from dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild) | 7 | ||||
-rw-r--r-- | dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2-r2.ebuild (renamed from dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild) | 5 | ||||
-rw-r--r-- | dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0-r1.ebuild (renamed from dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0.ebuild) | 5 |
3 files changed, 16 insertions, 1 deletions
diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild index d10701c912ca..8accb92c97c0 100644 --- a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1.ebuild +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.93_p1-r1.ebuild @@ -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=6 @@ -52,6 +52,7 @@ multilib_src_configure() { $(use_enable cxx) --disable-cpp-progs --with-cd-paranoia-name=libcdio-paranoia + $(use_enable static-libs static) ) # Darwin linker doesn't get this [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --without-versioned-libs ) @@ -59,6 +60,10 @@ multilib_src_configure() { econf "${myeconfargs[@]}" } +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +} + pkg_postinst() { eselect cdparanoia update ifunset } diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2-r2.ebuild index 8ff3a41accbc..2c0a95a324b1 100644 --- a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2-r2.ebuild @@ -57,6 +57,7 @@ multilib_src_configure() { # https://bugs.gentoo.org/616054 # https://savannah.gnu.org/bugs/index.php?50978 --enable-ld-version-script + $(use_enable static-libs static) ) # Darwin linker doesn't get this [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) @@ -64,6 +65,10 @@ multilib_src_configure() { econf "${myeconfargs[@]}" } +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +} + pkg_postinst() { eselect cdparanoia update ifunset } diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0-r1.ebuild index a4c7136bb411..f58323ff0b56 100644 --- a/dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0.ebuild +++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-2.0.0-r1.ebuild @@ -49,6 +49,7 @@ multilib_src_configure() { $(use_enable cxx) --disable-cpp-progs --with-cd-paranoia-name=libcdio-paranoia + $(use_enable static-libs static) ) # Darwin linker doesn't get this [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) @@ -56,6 +57,10 @@ multilib_src_configure() { ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" } +multilib_src_install_all() { + find "${ED}" -type f -name "*.la" -delete || die +} + pkg_postinst() { eselect cdparanoia update ifunset } |