[oe-commits] Dongxiao Xu : acl: Use BPN instead of PN for style like lib${PN}

git version control git at git.openembedded.org
Fri Aug 19 16:07:49 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 58c66c0ef6f9233a308362f0aad36a753206770c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=58c66c0ef6f9233a308362f0aad36a753206770c

Author: Dongxiao Xu <dongxiao.xu at intel.com>
Date:   Thu Aug 18 14:55:33 2011 +0800

acl: 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 at intel.com>

---

 meta/recipes-support/attr/acl.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-support/attr/acl.inc b/meta/recipes-support/attr/acl.inc
index 15a87a5..b504517 100644
--- a/meta/recipes-support/attr/acl.inc
+++ b/meta/recipes-support/attr/acl.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
 
 LICENSE = "LGPLv2.1+ & GPLv2+"
 LICENSE_${PN} = "GPLv2+"
-LICENSE_lib${PN} = "LGPLv2.1+"
+LICENSE_lib${BPN} = "LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \
                     file://doc/COPYING.LGPL;md5=9e9a206917f8af112da634ce3ab41764"
 





More information about the Openembedded-commits mailing list