summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/openjade
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-08 21:33:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-10 11:51:18 +0000
commit5d3860f4a8abb8e95442b04f8b84a333af362fcd (patch)
tree16e4b98abf972410eef0175aa09ef2dd918e0016 /meta/recipes-devtools/openjade
parentd9740cdcd7d4b19eccae27665d9ce92632d6349a (diff)
downloadpoky-5d3860f4a8abb8e95442b04f8b84a333af362fcd.tar.gz
Allow use of dash as /bin/sh
We've had the check for dash as /bin/sh for a long time. Dash has been around long enough now that most major issues have been identified and fixed from build perspective. This patch fixes a bashism in the openjade-native recipe. It also adjusts libtool so that the header at the script is used and not the value of $SHELL. This is because many Makefiles change $SHELL so dash can get used to execute what is otherwise configured as a bash shell script. Since we don't need to execute scripts this way on any system I'm aware of us building upon, the simplest fix is just to remove $SHELL. With these two changes the dash check can be removed and we can allow builds with dash as /bin/sh (From OE-Core rev: 07ded02ffd37b4fe60a6210dbf56490ea306f0b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Note: I know I need to add the description of the libtool change above into the prefix.patch]
Diffstat (limited to 'meta/recipes-devtools/openjade')
-rw-r--r--meta/recipes-devtools/openjade/openjade-native_1.3.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
index 6cc6bb5d2b..0cce46eca2 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -53,7 +53,9 @@ do_install() {
53 53
54 install -d ${D}${datadir}/sgml/openjade-${PV} 54 install -d ${D}${datadir}/sgml/openjade-${PV}
55 install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV} 55 install -m 644 dsssl/catalog ${D}${datadir}/sgml/openjade-${PV}
56 install -m 644 dsssl/*.{dtd,dsl,sgm} ${D}${datadir}/sgml/openjade-${PV} 56 install -m 644 dsssl/*.dtd ${D}${datadir}/sgml/openjade-${PV}
57 install -m 644 dsssl/*.dsl ${D}${datadir}/sgml/openjade-${PV}
58 install -m 644 dsssl/*.sgm ${D}${datadir}/sgml/openjade-${PV}
57 59
58 install -d ${datadir}/sgml/openjade-${PV} 60 install -d ${datadir}/sgml/openjade-${PV}
59 install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog 61 install -m 644 dsssl/catalog ${datadir}/sgml/openjade-${PV}/catalog