sys-devel/gettext: make sure libintl building is disabled #564168

This commit is contained in:
Mike Frysinger
2016-06-15 16:14:58 -04:00
parent 2f7f19a5f4
commit 7006ca3568
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
https://bugs.gentoo.org/564168
Never build libintl since it's in dev-libs/libintl now.
We can drop this if/when upstream fixes the configure flag handling:
https://savannah.gnu.org/bugs/?48233
--- a/gettext-runtime/configure
+++ b/gettext-runtime/configure
@@ -20391,8 +20391,7 @@ $as_echo "$ac_res" >&6; }
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
- && test "$PACKAGE" != gettext-runtime \
- && test "$PACKAGE" != gettext-tools; }; then
+ }; then
gt_use_preinstalled_gnugettext=yes
else
LIBINTL=
--- a/gettext-tools/configure
+++ b/gettext-tools/configure
@@ -22746,8 +22746,7 @@ $as_echo "$ac_res" >&6; }
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
- && test "$PACKAGE" != gettext-runtime \
- && test "$PACKAGE" != gettext-tools; }; then
+ }; then
gt_use_preinstalled_gnugettext=yes
else
LIBINTL=

View File

@@ -49,6 +49,8 @@ pkg_setup() {
src_prepare() {
java-pkg-opt-2_src_prepare
epatch "${FILESDIR}"/${PN}-0.19.7-disable-libintl.patch #564168
epunt_cxx
elibtoolize
}

View File

@@ -49,6 +49,8 @@ pkg_setup() {
src_prepare() {
java-pkg-opt-2_src_prepare
epatch "${FILESDIR}"/${PN}-0.19.7-disable-libintl.patch #564168
epunt_cxx
elibtoolize
}