sys-devel/gettext: make sure libintl building is disabled #564168
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Jun 2016 20:14:58 +0000 (16:14 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Jun 2016 20:15:48 +0000 (16:15 -0400)
sys-devel/gettext/files/gettext-0.19.7-disable-libintl.patch [new file with mode: 0644]
sys-devel/gettext/gettext-0.19.7.ebuild
sys-devel/gettext/gettext-0.19.8.1.ebuild

diff --git a/sys-devel/gettext/files/gettext-0.19.7-disable-libintl.patch b/sys-devel/gettext/files/gettext-0.19.7-disable-libintl.patch
new file mode 100644 (file)
index 0000000..f51de34
--- /dev/null
@@ -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=
index 962433a6a19f7b5ea7f722090184a9c40088f36c..7922b1dcdb723ff09cd42c07aa450ff9252ac7dd 100644 (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
 }
index 165bf054b54cb030002abf8ef126b49b0982a698..d49716f4c85e9a29b5b862f118864c98cc86a6af 100644 (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
 }