summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2020-06-14 20:00:52 -0400
committerAaron Bauman <bman@gentoo.org>2020-06-14 22:29:00 -0400
commit8aba75f223d0b5d4f4f5620120b3df688fdc94c4 (patch)
tree3d4125cd94be069a42ef800a3d234dd10598705d /dev-libs/libucl/libucl-9999.ebuild
parentgui-wm/hikari: fix configuration files install (diff)
downloadgentoo-8aba75f223d0b5d4f4f5620120b3df688fdc94c4.tar.gz
gentoo-8aba75f223d0b5d4f4f5620120b3df688fdc94c4.tar.bz2
gentoo-8aba75f223d0b5d4f4f5620120b3df688fdc94c4.zip
dev-libs/libucl: remove static libs + libtool .la
Closes: https://bugs.gentoo.org/727388 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Closes: https://github.com/gentoo/gentoo/pull/16247 Signed-off-by: Aaron Bauman <bman@gentoo.org>
Diffstat (limited to 'dev-libs/libucl/libucl-9999.ebuild')
-rw-r--r--dev-libs/libucl/libucl-9999.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-libs/libucl/libucl-9999.ebuild b/dev-libs/libucl/libucl-9999.ebuild
index a019e11cbc80..3a7e1f46c4f3 100644
--- a/dev-libs/libucl/libucl-9999.ebuild
+++ b/dev-libs/libucl/libucl-9999.ebuild
@@ -19,7 +19,7 @@ fi
LICENSE="BSD-2"
SLOT="0"
-IUSE="lua +regex sign urls +utils static"
+IUSE="lua +regex sign urls +utils static-libs"
DEPEND="!!dev-libs/ucl
lua? ( >=dev-lang/lua-5.1:= )
@@ -53,5 +53,8 @@ src_install() {
default
DOCS+=( $(usex lua "doc/lua_api.md" "") )
einstalldocs
- use static || find "${ED}" -name "*.la" -delete
+ if ! use static-libs; then
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || \
+ die "error while deleting static library"
+ fi
}