summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-12 13:05:09 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-06-12 16:34:30 +0100
commit5ed855d12cddf2de535c3f6d05d3dfe85d69d99d (patch)
tree827245ba5e811e182dc2d19cad7941edb4c2e4e6 /meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
parent7e62e24b6cfd1683cd4b7ba565537b25d1b604f8 (diff)
downloadpoky-5ed855d12cddf2de535c3f6d05d3dfe85d69d99d.tar.gz
openjade-native: Ensure we reautoconf the package
Currently since configure.in in is in a subdirectory, we don't reautoconf the recipe. We really need to do this, to update things like the libtool script used and fix various issues such as those that could creep in if a reautoconf is triggered for some reason. Since this source only calls AM_INIT_AUTOMAKE to gain the PACKAGE and VERSION definitions and that macro now errors if Makefile.am doesn't exist, we need to add these definitions manually. These changes avoid failures like: ---- | ... | DssslApp.cxx:117:36: error: 'PACKAGE' was not declared in this scope | DssslApp.cxx:118:36: error: 'VERSION' was not declared in this scope | make[2]: *** [DssslApp.lo] Error 1 ---- (From OE-Core rev: 6f0d830ed047f700702645d454054dfd6fea6f25) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/openjade/openjade-native_1.3.2.bb')
-rw-r--r--meta/recipes-devtools/openjade/openjade-native_1.3.2.bb5
1 files changed, 5 insertions, 0 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 18d311e9d5..5b29c1fda0 100644
--- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
+++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb
@@ -14,6 +14,7 @@ RDEPENDS_${PN} = "sgml-common-native"
14 14
15SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \ 15SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/openjade-${PV}.tar.gz \
16 file://makefile.patch \ 16 file://makefile.patch \
17 file://reautoconf.patch \
17 file://user-declared-default-constructor.patch" 18 file://user-declared-default-constructor.patch"
18 19
19SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e" 20SRC_URI[md5sum] = "7df692e3186109cc00db6825b777201e"
@@ -38,6 +39,10 @@ CFLAGS =+ "-I${S}/include"
38SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst" 39SSTATEPOSTINSTFUNCS += "openjade_sstate_postinst"
39SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess" 40SYSROOT_PREPROCESS_FUNCS += "openjade_sysroot_preprocess"
40 41
42# configure.in needs to be reloacted to trigger reautoconf
43do_configure_prepend () {
44 cp ${S}/config/configure.in ${S}/
45}
41 46
42# We need to do this else the source interdependencies aren't generated and 47# We need to do this else the source interdependencies aren't generated and
43# build failures can result (e.g. zero size style/Makefile.dep file) 48# build failures can result (e.g. zero size style/Makefile.dep file)