summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2024-04-08 16:54:06 -0700
committerSam James <sam@gentoo.org>2024-05-13 20:42:34 +0100
commit0a5cacb3bade57022cc5e7bfd2f7ed89f01dce7b (patch)
treeac506b40219e147bb0fef02e75ffff61c02b6322 /dev-util/anjuta
parentdev-python/meson-python: do not require PYTHON_USEDEP on meson (diff)
downloadgentoo-0a5cacb3bade57022cc5e7bfd2f7ed89f01dce7b.tar.gz
gentoo-0a5cacb3bade57022cc5e7bfd2f7ed89f01dce7b.tar.bz2
gentoo-0a5cacb3bade57022cc5e7bfd2f7ed89f01dce7b.zip
dev-util/anjuta: only remove .la file if it exists
When building with slibtool the .la file by default is never installed. Closes: https://bugs.gentoo.org/913671 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/36170 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/anjuta')
-rw-r--r--dev-util/anjuta/anjuta-3.34.0-r2.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/dev-util/anjuta/anjuta-3.34.0-r2.ebuild b/dev-util/anjuta/anjuta-3.34.0-r2.ebuild
index fad8dc7ade3c..149da469e6c1 100644
--- a/dev-util/anjuta/anjuta-3.34.0-r2.ebuild
+++ b/dev-util/anjuta/anjuta-3.34.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,8 +27,6 @@ PATCHES=(
"${FILESDIR}"/${PV}-minimal.patch
)
-LA="libanjuta-${PV%%.*}.la"
-
src_configure() {
gnome2_src_configure \
--disable-debug \
@@ -42,12 +40,12 @@ src_configure() {
src_compile() {
emake -C libanjuta/interfaces libanjuta-interfaces.la
- emake -C libanjuta ${LA}
+ emake -C libanjuta libanjuta-${PV%%.*}.la
}
src_install() {
emake DESTDIR="${D}" -C libanjuta install-am
emake DESTDIR="${D}" -C libanjuta/interfaces install-am
emake DESTDIR="${D}" -C src install-dist_anjuta_pixmapsDATA
- rm -v "${ED}"/usr/$(get_libdir)/${LA} || die
+ find "${ED}" -type f -name '*.la' -delete || die
}