diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-08-19 17:38:42 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2008-08-19 17:38:42 +0000 |
commit | 171e4483d1c184ea872b53d7c4b8ee2d097a6ac6 (patch) | |
tree | 3601741f2d92b445c54b68f7d0d63fb270e8df99 /packages | |
parent | ae09040e845e88874bfce7613ae34a6ae183df7f (diff) |
gettext: fix --enable-nls stuff
* --enable-nls has diffent meaning on gettext self
libintl is only buildable when you enable nls, which
is default on gettext package self, so remove my nasty hack
* fixing later that no locales package are made
when the user wants no nls
* add gettext-native ncurses expat to the depends as suggested in
the DEPENDENCIES file
* bump PR
Diffstat (limited to 'packages')
-rw-r--r-- | packages/gettext/gettext_0.17.bb | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/gettext/gettext_0.17.bb b/packages/gettext/gettext_0.17.bb index ed64c1ea87..7beaee1294 100644 --- a/packages/gettext/gettext_0.17.bb +++ b/packages/gettext/gettext_0.17.bb @@ -2,9 +2,9 @@ DESCRIPTION = "The GNU internationalization library." HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html" SECTION = "libs" LICENSE = "GPL" -PR = "r0" +PR = "r1" DEFAULT_PREFERENCE = "-1" -DEPENDS = "virtual/libiconv" +DEPENDS = "gettext-native virtual/libiconv ncurses expat" PROVIDES = "virtual/libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ @@ -15,12 +15,6 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ SRC_URI_append_linux-uclibc = " file://gettext-error_print_progname.patch;patch=1" SRC_URI_append_linux-uclibcgnueabi = " file://gettext-error_print_progname.patch;patch=1" -#gettext.class cant be inherit here so use this hack same as in libiconv -DEPENDS += "${@['','gettext-native'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}" - -EXTRA_OECONF += "${@['--disable-nls','--enable-nls'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}" - - PARALLEL_MAKE = "" inherit autotools @@ -34,6 +28,7 @@ EXTRA_OECONF += "--without-lispdir \ --with-included-glib \ --without-emacs \ " + acpaths = '-I ${S}/autoconf-lib-link/m4/ \ -I ${S}/gettext-runtime/m4 \ -I ${S}/gettext-tools/m4' |