Patchwork [2/5] ea-acl: Use BPN instead of PN for style like lib${PN}

login
register
mail settings
Submitter Dongxiao Xu
Date Aug. 18, 2011, 9:08 a.m.
Message ID <f66103526b95933672cd3a293333cd86b8152777.1313658393.git.dongxiao.xu@intel.com>
Download mbox | patch
Permalink /patch/10171/
State New, archived
Headers show

Comments

Dongxiao Xu - Aug. 18, 2011, 9:08 a.m.
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>
---
 meta/recipes-support/attr/ea-acl.inc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 4e79421..2ef1389 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -18,9 +18,9 @@  do_install () {
 
 PACKAGES =+ "lib${BPN} lib${BPN}-dev lib${BPN}-doc"
 
-FILES_lib${PN} = "${base_libdir}/lib*.so.*"
+FILES_lib${BPN} = "${base_libdir}/lib*.so.*"
 
-FILES_lib${PN}-dev = "${includedir} \
+FILES_lib${BPN}-dev = "${includedir} \
                       ${libdir}/lib*.so \
                       ${libdir}/lib*.a \
                       ${libdir}/lib*.la \
@@ -28,7 +28,7 @@  FILES_lib${PN}-dev = "${includedir} \
                       ${base_libdir}/lib*.a \
                       ${base_libdir}/lib*.la"
 
-FILES_lib${PN}-doc = "${mandir}/man2 \
+FILES_lib${BPN}-doc = "${mandir}/man2 \
                       ${mandir}/man3"
 
 BBCLASSEXTEND = "native"