diff options
author | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-06 11:05:56 +0200 |
---|---|---|
committer | Andrew Ammerlaan <andrewammerlaan@gentoo.org> | 2022-06-06 11:05:56 +0200 |
commit | ce8dff7b588f34e699865ef55e35066ae9e0bf3e (patch) | |
tree | cb8e3552ebb9e3e1aafe6d5404e0fdfb31d2af73 /media-gfx/libredwg | |
parent | app-editors/mousepad: Strip .la files (diff) | |
download | gentoo-ce8dff7b588f34e699865ef55e35066ae9e0bf3e.tar.gz gentoo-ce8dff7b588f34e699865ef55e35066ae9e0bf3e.tar.bz2 gentoo-ce8dff7b588f34e699865ef55e35066ae9e0bf3e.zip |
media-gfx/libredwg: do not die if use ! python
Closes: https://bugs.gentoo.org/849026
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'media-gfx/libredwg')
-rw-r--r-- | media-gfx/libredwg/libredwg-0.12.5-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild index a1d3d185df43..677d324e8fe6 100644 --- a/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild +++ b/media-gfx/libredwg/libredwg-0.12.5-r1.ebuild @@ -106,6 +106,8 @@ src_install() { # remove .la files if static-libs disabled if ! use static-libs; then rm "${ED}/usr/$(get_libdir)/libredwg.la" || die - use python && rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die + if use python; then + rm "${D}/$(python_get_sitedir)/_LibreDWG.la" || die + fi fi } |