summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-03 23:19:36 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-03 18:07:25 +0100
commit5fbac72eb8c3cddf10876cf007aff54180c7264e (patch)
tree1323a3e9d39e5047d759ef10ee50723a2366b108 /meta/recipes-extended
parent0a4953bab4a31f5e0c029e050976b03385423f12 (diff)
downloadpoky-5fbac72eb8c3cddf10876cf007aff54180c7264e.tar.gz
multilib: Use BPN instead of PN for style like lib${PN}
When supporting multilib, ${PN} will be extended with MLPREFIX. However if a package name contains ${PN} with styles like lib${PN}, such extension will cause error. Use BPN in this case. (From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/augeas/augeas.inc12
-rw-r--r--meta/recipes-extended/gamin/gamin_0.1.10.bb8
2 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-extended/augeas/augeas.inc b/meta/recipes-extended/augeas/augeas.inc
index 619cd20237..0c6d53459b 100644
--- a/meta/recipes-extended/augeas/augeas.inc
+++ b/meta/recipes-extended/augeas/augeas.inc
@@ -11,15 +11,15 @@ DEPENDS = "readline"
11 11
12inherit autotools 12inherit autotools
13 13
14PACKAGES =+ "${PN}-lenses lib${PN} lib${PN}-dev lib${PN}-dbg" 14PACKAGES =+ "${PN}-lenses lib${BPN} lib${BPN}-dev lib${BPN}-dbg"
15 15
16FILES_${PN}-lenses = "${datadir}/augeas/lenses" 16FILES_${PN}-lenses = "${datadir}/augeas/lenses"
17FILES_lib${PN} = "${libdir}/*.so.*" 17FILES_lib${BPN} = "${libdir}/*.so.*"
18FILES_lib${PN}-dev = "${libdir}/*.so ${libdir}/*.a ${libdir}/*.la ${includedir} ${libdir}/pkgconfig" 18FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/*.a ${libdir}/*.la ${includedir} ${libdir}/pkgconfig"
19FILES_lib${PN}-dbg = "${libdir}/.debug" 19FILES_lib${BPN}-dbg = "${libdir}/.debug"
20 20
21RDEPENDS_lib${PN} += "${PN}-lenses" 21RDEPENDS_lib${BPN} += "${PN}-lenses"
22RRECOMMENDS_lib${PN} += "${PN}" 22RRECOMMENDS_lib${BPN} += "${PN}"
23 23
24LEAD_SONAME = "libaugeas.so" 24LEAD_SONAME = "libaugeas.so"
25 25
diff --git a/meta/recipes-extended/gamin/gamin_0.1.10.bb b/meta/recipes-extended/gamin/gamin_0.1.10.bb
index 81b27c0a46..080a3253f0 100644
--- a/meta/recipes-extended/gamin/gamin_0.1.10.bb
+++ b/meta/recipes-extended/gamin/gamin_0.1.10.bb
@@ -20,14 +20,14 @@ inherit autotools pkgconfig
20 20
21EXTRA_OECONF = "--without-python" 21EXTRA_OECONF = "--without-python"
22 22
23PACKAGES += "lib${PN} lib${PN}-dev" 23PACKAGES += "lib${BPN} lib${BPN}-dev"
24FILES_${PN} = "${libexecdir}" 24FILES_${PN} = "${libexecdir}"
25FILES_${PN}-dbg += "${libexecdir}/.debug" 25FILES_${PN}-dbg += "${libexecdir}/.debug"
26FILES_lib${PN} = "${libdir}/lib*.so.*" 26FILES_lib${BPN} = "${libdir}/lib*.so.*"
27FILES_lib${PN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/lib*.la \ 27FILES_lib${BPN}-dev = "${includedir} ${libdir}/pkgconfig ${libdir}/lib*.la \
28 ${libdir}/lib*.a ${libdir}/lib*.so" 28 ${libdir}/lib*.a ${libdir}/lib*.so"
29 29
30RDEPENDS_lib${PN} = "${PN}" 30RDEPENDS_lib${BPN} = "${PN}"
31 31
32LEAD_SONAME = "libgamin-1.so" 32LEAD_SONAME = "libgamin-1.so"
33 33