diff options
| author | Scott Garman <scott.a.garman@intel.com> | 2011-02-17 13:30:14 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-18 01:16:26 +0000 |
| commit | 6547f62fb3da7094fd9aa85c3777b17aa38700a3 (patch) | |
| tree | e5520beea39fe6ea094096c1665d5185bcb13737 /meta | |
| parent | 561c7a8f654871a8e738d24a2aeec556d6b52f8a (diff) | |
| download | poky-6547f62fb3da7094fd9aa85c3777b17aa38700a3.tar.gz | |
openjade-native: Set datadir explicitly
datadir was previously defaulting to usr/share and hence could not
find openjade's data files.
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | 6 |
1 files changed, 5 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 f267fc5483..3615ec3721 100644 --- a/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb +++ b/meta/recipes-devtools/openjade/openjade-native_1.3.2.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "base" | |||
| 7 | LICENSE = "BSD" | 7 | LICENSE = "BSD" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" |
| 9 | 9 | ||
| 10 | PR = "r0" | 10 | PR = "r1" |
| 11 | 11 | ||
| 12 | DEPENDS = "opensp-native sgml-common-native" | 12 | DEPENDS = "opensp-native sgml-common-native" |
| 13 | RDEPENDS_${PN} = "sgml-common" | 13 | RDEPENDS_${PN} = "sgml-common" |
| @@ -23,6 +23,10 @@ inherit autotools native | |||
| 23 | EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \ | 23 | EXTRA_OECONF = "--enable-spincludedir=${STAGING_INCDIR}/OpenSP \ |
| 24 | --enable-splibdir=${STAGING_LIBDIR}" | 24 | --enable-splibdir=${STAGING_LIBDIR}" |
| 25 | 25 | ||
| 26 | # We need to set datadir explicitly, but adding it to EXTRA_OECONF | ||
| 27 | # results in it being specified twice when configure is run. | ||
| 28 | CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--datadir=${datadir}', '--datadir=${STAGING_DATADIR}/sgml/openjade-${PV}')}" | ||
| 29 | |||
| 26 | CFLAGS =+ "-I${S}/include" | 30 | CFLAGS =+ "-I${S}/include" |
| 27 | 31 | ||
| 28 | do_install() { | 32 | do_install() { |
