diff options
author | Sam James <sam@gentoo.org> | 2021-03-26 14:49:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-26 14:52:07 +0000 |
commit | e0661ae96bd8447c2df020402aeddb06b46db89b (patch) | |
tree | f15583ea7287a6ce1e69fd6704fc0dd42923af6b /net-misc/dahdi-tools | |
parent | sys-kernel/gentoo-sources: ppc stable wrt bug #768894 (diff) | |
download | gentoo-e0661ae96bd8447c2df020402aeddb06b46db89b.tar.gz gentoo-e0661ae96bd8447c2df020402aeddb06b46db89b.tar.bz2 gentoo-e0661ae96bd8447c2df020402aeddb06b46db89b.zip |
net-misc/dahdi-tools: fix installation with slibtool
Closes: https://bugs.gentoo.org/778380
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc/dahdi-tools')
-rw-r--r-- | net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild index b31ec8912b55..557e1849f862 100644 --- a/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild +++ b/net-misc/dahdi-tools/dahdi-tools-3.1.0-r1.ebuild @@ -60,5 +60,7 @@ src_install() { bashcomp_alias dahdi $(sed -nre 's/^complete -F .* //p' "${ED}${bashcompdir}/dahdi" || die "Error parsing dahdi bash completion file for commands") - rm "${ED}"/usr/$(get_libdir)/libtonezone.{la,a} || die "Unable to remove static libs from install." + rm "${ED}"/usr/$(get_libdir)/libtonezone.a || die "Unable to remove static libs from install." + # Delete *if* the libtool file exists, bug #778380 + find "${ED}" -name '*.la' -delete || die } |