commit:     5e664103008aca17204231ff46d55c01362ea5b8
Author:     Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Wed Aug 16 14:50:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 06:22:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e664103

dev-libs/hiredis: Correct prefix in hiredis_ssl.pc

Ensure hiredis_ssl.pc is generated during the compile phase. Without
this, it contains the $ED prefix from the install phase. It's safe to
generate it, even if not installed when USE=-ssl is specified.

Closes: https://bugs.gentoo.org/912367
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/32345
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/hiredis/{hiredis-1.0.2-r2.ebuild => hiredis-1.0.2-r3.ebuild} | 4 ++--
 dev-libs/hiredis/{hiredis-1.1.0.ebuild => hiredis-1.1.0-r1.ebuild}    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild 
b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild
similarity index 96%
rename from dev-libs/hiredis/hiredis-1.0.2-r2.ebuild
rename to dev-libs/hiredis/hiredis-1.0.2-r3.ebuild
index 6290e448af16..b990a555460f 100644
--- a/dev-libs/hiredis/hiredis-1.0.2-r2.ebuild
+++ b/dev-libs/hiredis/hiredis-1.0.2-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -48,7 +48,7 @@ src_compile() {
        # The static lib re-uses the same objects as the shared lib, so
        # overhead is low w/creating it all the time.  It's also needed
        # by the tests.
-       _build dynamic static hiredis.pc
+       _build dynamic static hiredis{,_ssl}.pc
 }
 
 src_test() {

diff --git a/dev-libs/hiredis/hiredis-1.1.0.ebuild 
b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild
similarity index 98%
rename from dev-libs/hiredis/hiredis-1.1.0.ebuild
rename to dev-libs/hiredis/hiredis-1.1.0-r1.ebuild
index 4d173dd34c4d..193ec8133864 100644
--- a/dev-libs/hiredis/hiredis-1.1.0.ebuild
+++ b/dev-libs/hiredis/hiredis-1.1.0-r1.ebuild
@@ -54,7 +54,7 @@ src_compile() {
        # The static lib re-uses the same objects as the shared lib, so
        # overhead is low w/creating it all the time.  It's also needed
        # by the tests.
-       _build dynamic static hiredis.pc
+       _build dynamic static hiredis{,_ssl}.pc
 }
 
 src_test() {

Reply via email to