commit:     e994e5c0c87555b11276a8fb5689db41318adbaa
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 12 12:15:49 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Fri Dec 12 12:30:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e994e5c0

net-libs/czmq: do not install libtool files with USE=static-libs

Overloading the find made no sense here. :/ Bad port from
autotools-utils.eclass, which apparently *was* useful at least to stop
people mis-holding the docs.

Fixes: 5afce7b17163b47ff8fb4df89c9f93aa3ef94a08
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 net-libs/czmq/czmq-4.2.1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-libs/czmq/czmq-4.2.1.ebuild b/net-libs/czmq/czmq-4.2.1.ebuild
index 39e39a7930ea..7f33fd81bad2 100644
--- a/net-libs/czmq/czmq-4.2.1.ebuild
+++ b/net-libs/czmq/czmq-4.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
@@ -54,7 +54,8 @@ src_configure() {
 src_install() {
        default
 
+       find "${ED}" -type f -name "*.la" -delete || die
        if ! use static-libs ; then
-               find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete 
|| die
+               find "${ED}" -type f -name "*.a" -delete || die
        fi
 }

Reply via email to