diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-06-15 16:14:58 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-06-15 16:15:48 -0400 |
commit | 7006ca35680e9aa14f4e5f4bbf3b30f03d5b38d6 (patch) | |
tree | 46a5a22de1f2c8de3349a631826a84b902f9d840 /sys-devel/gettext | |
parent | app-text/ebook-tools: remove old (diff) | |
download | gentoo-7006ca35680e9aa14f4e5f4bbf3b30f03d5b38d6.tar.gz gentoo-7006ca35680e9aa14f4e5f4bbf3b30f03d5b38d6.tar.bz2 gentoo-7006ca35680e9aa14f4e5f4bbf3b30f03d5b38d6.zip |
sys-devel/gettext: make sure libintl building is disabled #564168
Diffstat (limited to 'sys-devel/gettext')
-rw-r--r-- | sys-devel/gettext/files/gettext-0.19.7-disable-libintl.patch | 30 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.19.7.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/gettext/gettext-0.19.8.1.ebuild | 2 |
3 files changed, 34 insertions, 0 deletions
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 index 000000000000..f51de3484331 --- /dev/null +++ b/sys-devel/gettext/files/gettext-0.19.7-disable-libintl.patch @@ -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= diff --git a/sys-devel/gettext/gettext-0.19.7.ebuild b/sys-devel/gettext/gettext-0.19.7.ebuild index 962433a6a19f..7922b1dcdb72 100644 --- a/sys-devel/gettext/gettext-0.19.7.ebuild +++ b/sys-devel/gettext/gettext-0.19.7.ebuild @@ -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 } diff --git a/sys-devel/gettext/gettext-0.19.8.1.ebuild b/sys-devel/gettext/gettext-0.19.8.1.ebuild index 165bf054b54c..d49716f4c85e 100644 --- a/sys-devel/gettext/gettext-0.19.8.1.ebuild +++ b/sys-devel/gettext/gettext-0.19.8.1.ebuild @@ -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 } |