commit:     0aa9af35929dfbd0346a7277f0f02a3bf707b7e6
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  7 19:33:27 2023 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 19:33:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0aa9af35

dev-libs/libksba-1.6.3: build shared libs on Solaris

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 dev-libs/libksba/libksba-1.6.3.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libksba/libksba-1.6.3.ebuild 
b/dev-libs/libksba/libksba-1.6.3.ebuild
index b25b3542e302..0fc98049a0ec 100644
--- a/dev-libs/libksba/libksba-1.6.3.ebuild
+++ b/dev-libs/libksba/libksba-1.6.3.ebuild
@@ -10,7 +10,7 @@ EAPI=8
 # any subsequent ones linked within so you're covered for a while.)
 
 VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/gnupg.asc
-inherit toolchain-funcs verify-sig
+inherit toolchain-funcs verify-sig libtool
 
 DESCRIPTION="X.509 and CMS (PKCS#7) library"
 HOMEPAGE="https://www.gnupg.org/related_software/libksba";
@@ -33,6 +33,12 @@ PATCHES=(
        "${FILESDIR}"/${PN}-1.6.0-no-fgrep-ksba-config.patch
 )
 
+src_prepare() {
+       default
+
+       elibtoolize  # necessary on Solaris for shared lib support
+}
+
 src_configure() {
        export CC_FOR_BUILD="$(tc-getBUILD_CC)"
 

Reply via email to