diff options
author | Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | 2017-05-23 16:47:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-25 23:59:32 +0100 |
commit | be8ceea70d3016027806d6c5adc8b567e8176aa6 (patch) | |
tree | 12309c12f06ea934688e0257e7807daf1a3c587c | |
parent | 1431210bb0f76743a631967cead87a6f1a09d070 (diff) | |
download | poky-be8ceea70d3016027806d6c5adc8b567e8176aa6.tar.gz |
intltool: Adds gettext as a DEPENDS
When setting USE_NLS="no" and building systemd-boot
(which DEPENDS on intltool), configure fails,
complaining about missing gettext:
configure: error: GNU gettext tools not found; required for intltool
This is caused because USE_NLS="no" makes the gettext class
add gettext-minimal-native to BASEDEPENDS instead of adding
gettext-native.
Since we still would like to set USE_NLS="no" and build systemd-boot,
we add gettext-native as a dependency to intltool-native, which makes it
available for the configure script of systemd-boot fixing the problem.
[YOCTO #11562]
(From OE-Core rev: 26bd53aebf3430f1b9ec459c6c6ab42c57d18319)
Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/intltool/intltool_0.51.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/intltool/intltool_0.51.0.bb b/meta/recipes-devtools/intltool/intltool_0.51.0.bb index 551bdf0619..ecff2faf25 100644 --- a/meta/recipes-devtools/intltool/intltool_0.51.0.bb +++ b/meta/recipes-devtools/intltool/intltool_0.51.0.bb | |||
@@ -16,7 +16,7 @@ UPSTREAM_CHECK_URI = "https://launchpad.net/intltool/trunk/" | |||
16 | 16 | ||
17 | DEPENDS = "libxml-parser-perl-native" | 17 | DEPENDS = "libxml-parser-perl-native" |
18 | RDEPENDS_${PN} = "gettext-dev libxml-parser-perl" | 18 | RDEPENDS_${PN} = "gettext-dev libxml-parser-perl" |
19 | DEPENDS_class-native = "libxml-parser-perl-native" | 19 | DEPENDS_class-native = "libxml-parser-perl-native gettext-native" |
20 | 20 | ||
21 | inherit autotools pkgconfig perlnative | 21 | inherit autotools pkgconfig perlnative |
22 | 22 | ||