summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-02-17 13:33:27 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 01:16:26 +0000
commit0bc7de5179c9844315f303aa6e0f237ed8586a87 (patch)
tree6acd11d892d7616781c2c005657c3d2159bdcfb6
parent6547f62fb3da7094fd9aa85c3777b17aa38700a3 (diff)
downloadopenembedded-core-0bc7de5179c9844315f303aa6e0f237ed8586a87.tar.gz
openembedded-core-0bc7de5179c9844315f303aa6e0f237ed8586a87.tar.bz2
openembedded-core-0bc7de5179c9844315f303aa6e0f237ed8586a87.zip
docbook-utils-native: set SGML_EXTRA_CATALOGS in jw
Point jw to the native sysroot master catalog. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
-rw-r--r--meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb b/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
index 2263c0a982..c0084b3d91 100644
--- a/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
+++ b/meta/recipes-devtools/docbook-utils/docbook-utils-native_0.6.14.bb
@@ -8,7 +8,7 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "openjade-native sgmlspl-native docbook-dsssl-stylesheets-native docbook-sgml-dtd-3.1-native"
-PR = "r0"
+PR = "r1"
SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-${PV}.tar.gz"
@@ -22,6 +22,9 @@ do_configure_prepend() {
sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" bin/jw.in
sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/man/Makefile.am
sed -i -e "s|/etc/sgml|${sysconfdir}/sgml|g" doc/HTML/Makefile.am
+
+ # Point jw to the native sysroot catalog
+ sed -i -e 's|^SGML_EXTRA_CATALOGS=""|SGML_EXTRA_CATALOGS=":${sysconfdir}/sgml/catalog"|g' bin/jw.in
}
do_install() {