summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-03-02 15:43:48 +0100
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2024-03-02 15:44:19 +0100
commitba0a9f492d82e9ac8af7fdc01a05f60acc662b0e (patch)
tree14dd0b40e210c40578b5c65b62c0f9fd30e4308e /media-gfx/libredwg
parentdev-python/watchdog: Stabilize 4.0.0 arm64, #925384 (diff)
downloadgentoo-ba0a9f492d82e9ac8af7fdc01a05f60acc662b0e.tar.gz
gentoo-ba0a9f492d82e9ac8af7fdc01a05f60acc662b0e.tar.bz2
gentoo-ba0a9f492d82e9ac8af7fdc01a05f60acc662b0e.zip
media-gfx/libredwg: only remove la files if they exist
Closes: https://bugs.gentoo.org/914184 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-gfx/libredwg')
-rw-r--r--media-gfx/libredwg/libredwg-0.13.3.ebuild5
1 files changed, 1 insertions, 4 deletions
diff --git a/media-gfx/libredwg/libredwg-0.13.3.ebuild b/media-gfx/libredwg/libredwg-0.13.3.ebuild
index 57215dfb3169..d29a75a7f99d 100644
--- a/media-gfx/libredwg/libredwg-0.13.3.ebuild
+++ b/media-gfx/libredwg/libredwg-0.13.3.ebuild
@@ -106,9 +106,6 @@ src_install() {
use python && python_optimize
# remove .la files if static-libs disabled
if ! use static-libs; then
- rm "${ED}/usr/$(get_libdir)/libredwg.la" || die
- if use python; then
- rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die
- fi
+ find "${ED}" -name '*.la' -delete || die
fi
}