summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/augeas
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:06:04 +0100
commitfbb734e5753655de30c82c0a036c9043820e02cb (patch)
tree75b05b7c3ce3c07751ca4625d5853ba084b92734 /meta/recipes-extended/augeas
parent3f7809ba54bc4941c42071728cee1b286c1e87f6 (diff)
downloadopenembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.gz
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.bz2
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.tar.xz
openembedded-core-fbb734e5753655de30c82c0a036c9043820e02cb.zip
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. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/augeas')
-rw-r--r--meta/recipes-extended/augeas/augeas.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-extended/augeas/augeas.inc b/meta/recipes-extended/augeas/augeas.inc
index 619cd2023..0c6d53459 100644
--- a/meta/recipes-extended/augeas/augeas.inc
+++ b/meta/recipes-extended/augeas/augeas.inc
@@ -11,15 +11,15 @@ DEPENDS = "readline"
inherit autotools
-PACKAGES =+ "${PN}-lenses lib${PN} lib${PN}-dev lib${PN}-dbg"
+PACKAGES =+ "${PN}-lenses lib${BPN} lib${BPN}-dev lib${BPN}-dbg"
FILES_${PN}-lenses = "${datadir}/augeas/lenses"
-FILES_lib${PN} = "${libdir}/*.so.*"
-FILES_lib${PN}-dev = "${libdir}/*.so ${libdir}/*.a ${libdir}/*.la ${includedir} ${libdir}/pkgconfig"
-FILES_lib${PN}-dbg = "${libdir}/.debug"
+FILES_lib${BPN} = "${libdir}/*.so.*"
+FILES_lib${BPN}-dev = "${libdir}/*.so ${libdir}/*.a ${libdir}/*.la ${includedir} ${libdir}/pkgconfig"
+FILES_lib${BPN}-dbg = "${libdir}/.debug"
-RDEPENDS_lib${PN} += "${PN}-lenses"
-RRECOMMENDS_lib${PN} += "${PN}"
+RDEPENDS_lib${BPN} += "${PN}-lenses"
+RRECOMMENDS_lib${BPN} += "${PN}"
LEAD_SONAME = "libaugeas.so"