commit:     8c4ed017eaee87750cdd560cecb34cc1b6d7d068
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Feb 18 07:39:24 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Feb 18 07:39:24 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c4ed017

dev-libs/gpds: fix installs .a without static-libs USE

Closes: https://bugs.gentoo.org/924853
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-libs/gpds/gpds-1.8.3.ebuild | 2 +-
 dev-libs/gpds/gpds-1.8.4.ebuild | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-libs/gpds/gpds-1.8.3.ebuild b/dev-libs/gpds/gpds-1.8.3.ebuild
index 448e5e5ace..b4340764b5 100644
--- a/dev-libs/gpds/gpds-1.8.3.ebuild
+++ b/dev-libs/gpds/gpds-1.8.3.ebuild
@@ -42,5 +42,5 @@ src_configure() {
 
 src_install() {
        cmake_src_install
-       # use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
+       use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
 }

diff --git a/dev-libs/gpds/gpds-1.8.4.ebuild b/dev-libs/gpds/gpds-1.8.4.ebuild
index da398d0dfa..0f02dffe4c 100644
--- a/dev-libs/gpds/gpds-1.8.4.ebuild
+++ b/dev-libs/gpds/gpds-1.8.4.ebuild
@@ -38,4 +38,5 @@ src_configure() {
 
 src_install() {
        cmake_src_install
+       use static-libs || rm "${ED}"/usr/$(get_libdir)/*.a || die
 }

Reply via email to