From 78bdb0194ad3bb4cde81ea9a9918004ef1b2a17a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 19 Feb 2009 02:37:06 +0100 Subject: [PATCH] gettext: disable some features, saves 7MB. --HG-- extra : convert_revision : 3f3abde29f5ef2e1a834b2a9897bf0fb694dae09 --- templates/gettext/install.diff | 13 +++++++++++++ templates/gettext/template | 2 ++ 2 files changed, 15 insertions(+) create mode 100644 templates/gettext/install.diff diff --git a/templates/gettext/install.diff b/templates/gettext/install.diff new file mode 100644 index 00000000000..0097b3bed5f --- /dev/null +++ b/templates/gettext/install.diff @@ -0,0 +1,13 @@ +Do not install the examples. + +--- gettext-tools/Makefile.in.orig 2009-02-19 02:26:59.754316493 +0100 ++++ gettext-tools/Makefile.in 2009-02-19 02:27:22.192981123 +0100 +@@ -724,7 +724,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies + ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4 -I libgettextpo/gnulib-m4 +-SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests examples ++SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests + + # Allow users to use "gnulib-tool --update". + diff --git a/templates/gettext/template b/templates/gettext/template index 1a24aeeee5c..8a0b6e8fd24 100644 --- a/templates/gettext/template +++ b/templates/gettext/template @@ -4,6 +4,8 @@ version=0.17 distfiles=" http://ftp.gnu.org/pub/gnu/gettext/gettext-$version.tar.gz" build_style=gnu_configure +configure_args="--disable-java --disable-native-java --disable-charp + --disable-libasprintf" short_desc="Internationalized Message Handling Library and tools" maintainer="Juan RP " checksum=209638bb8e162f22c281145a34e220c66f1f6e9ff5e4c50c6f2ef2ded59537ba