From 855486300b9294db0cbb9b088afe095386289906 Mon Sep 17 00:00:00 2001 From: Volker Wegert Date: Fri, 2 Dec 2022 21:24:21 +0100 Subject: [PATCH] remove .la files before installing --- app-forensics/libnk2/libnk2-20161118.ebuild | 6 ++++++ app-forensics/libnk2/libnk2-20170127.ebuild | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/app-forensics/libnk2/libnk2-20161118.ebuild b/app-forensics/libnk2/libnk2-20161118.ebuild index 26b7304af..9a2cacf9e 100644 --- a/app-forensics/libnk2/libnk2-20161118.ebuild +++ b/app-forensics/libnk2/libnk2-20161118.ebuild @@ -71,3 +71,9 @@ src_configure() { $(use_enable python python3) \ } + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +} diff --git a/app-forensics/libnk2/libnk2-20170127.ebuild b/app-forensics/libnk2/libnk2-20170127.ebuild index 26b7304af..9a2cacf9e 100644 --- a/app-forensics/libnk2/libnk2-20170127.ebuild +++ b/app-forensics/libnk2/libnk2-20170127.ebuild @@ -71,3 +71,9 @@ src_configure() { $(use_enable python python3) \ } + +src_install() { + default + # see https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0303 + find "${ED}" -name '*.la' -delete || die +}