summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Blundell <pb@pbcl.net>2013-04-25 14:03:53 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-29 14:45:07 +0100
commitb48db72ee7cd608d3d4598bc54f1b05bbc698d94 (patch)
treef995368c62de5b9c4b6ec72ee9d3d5741a591548
parentc29685551976a0f9587a35b1436d52eead3ad560 (diff)
downloadpoky-b48db72ee7cd608d3d4598bc54f1b05bbc698d94.tar.gz
gettext: Make ncurses dependency conditional on PACKAGECONFIG[msgcat-curses]
According to the documentation, the only reason for needing ncurses is to support colour output from msgcat. Make this optional so that ncurses doesn't need to be built if colour output is not required. (From OE-Core rev: a4040ad83984ee27fa9dc16d276c699d24b03b4e) Signed-off-by: Phil Blundell <philb@gnu.org> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/gettext/gettext_0.18.2.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.18.2.bb b/meta/recipes-core/gettext/gettext_0.18.2.bb
index 086f7fa885..7b4cc2528b 100644
--- a/meta/recipes-core/gettext/gettext_0.18.2.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.2.bb
@@ -6,7 +6,7 @@ LICENSE = "GPLv3+ & LGPL-2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7 7
8PR = "r0" 8PR = "r0"
9DEPENDS = "gettext-native virtual/libiconv ncurses expat" 9DEPENDS = "gettext-native virtual/libiconv expat"
10DEPENDS_class-native = "gettext-minimal-native" 10DEPENDS_class-native = "gettext-minimal-native"
11PROVIDES = "virtual/libintl virtual/gettext" 11PROVIDES = "virtual/libintl virtual/gettext"
12PROVIDES_class-native = "virtual/gettext-native" 12PROVIDES_class-native = "virtual/gettext-native"
@@ -15,6 +15,8 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
15 file://parallel.patch \ 15 file://parallel.patch \
16 " 16 "
17 17
18PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
19
18LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread " 20LDFLAGS_prepend_libc-uclibc = " -lrt -lpthread "
19 21
20SRC_URI[md5sum] = "0c86e5af70c195ab8bd651d17d783928" 22SRC_URI[md5sum] = "0c86e5af70c195ab8bd651d17d783928"
@@ -30,7 +32,6 @@ EXTRA_OECONF += "--without-lispdir \
30 --disable-openmp \ 32 --disable-openmp \
31 --disable-acl \ 33 --disable-acl \
32 --with-included-glib \ 34 --with-included-glib \
33 --with-libncurses-prefix=${STAGING_LIBDIR}/.. \
34 --without-emacs \ 35 --without-emacs \
35 --without-cvs \ 36 --without-cvs \
36 --without-git \ 37 --without-git \