commit: 06b98b354413cbe2e87d14cd0f6f772b12d5a0d9
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 13 07:15:21 2025 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Apr 13 17:31:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b98b35
dev-perl/Locale-gettext: fix final object with libintl on Solaris
Ensure we reference libintl from Prefix, so ld won't fail while using
the object.
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild
b/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild
index 3b68978e3b32..66a2d0346821 100644
--- a/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild
+++ b/dev-perl/Locale-gettext/Locale-gettext-1.70.0_p20181130.ebuild
@@ -31,3 +31,9 @@ PATCHES=(
"${FILESDIR}/${PN}-1.70.0-tests.patch"
"${FILESDIR}/${PN}-1.70.0_p20181130-config-log.patch"
)
+
+src_compile() {
+ # Makefile.PL cannot know we use libintl over system
+ [[ ${CHOST} == *-solaris* ]] && export LDLOADLIBS="-lintl"
+ default
+}