diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-18 14:51:32 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-19 09:29:20 -0700 |
commit | 90d20d0d63d273218eeff0b592e5b0783e8259f8 (patch) | |
tree | d3004914dcc47a35bdcde65b8c8a03bbf1087cb4 | |
parent | 30ba9839a2dfcd144c3369644c00e1551b820b33 (diff) | |
download | poky-90d20d0d63d273218eeff0b592e5b0783e8259f8.tar.gz |
curl: 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: 618de3f788a22127def8244c0d6ebd3608ed5577)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-support/curl/curl_7.21.7.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/curl/curl_7.21.7.bb b/meta/recipes-support/curl/curl_7.21.7.bb index 28344e20c1..2ec4402c6a 100644 --- a/meta/recipes-support/curl/curl_7.21.7.bb +++ b/meta/recipes-support/curl/curl_7.21.7.bb | |||
@@ -45,9 +45,9 @@ PACKAGE_ARCH_${PN}-certs = "all" | |||
45 | 45 | ||
46 | FILES_${PN}-doc = "${mandir}/man1/curl.1" | 46 | FILES_${PN}-doc = "${mandir}/man1/curl.1" |
47 | 47 | ||
48 | FILES_lib${PN} = "${libdir}/lib*.so.*" | 48 | FILES_lib${BPN} = "${libdir}/lib*.so.*" |
49 | RRECOMMENDS_lib${PN} += "${PN}-certs" | 49 | RRECOMMENDS_lib${BPN} += "${PN}-certs" |
50 | FILES_lib${PN}-dev = "${includedir} \ | 50 | FILES_lib${BPN}-dev = "${includedir} \ |
51 | ${libdir}/lib*.so \ | 51 | ${libdir}/lib*.so \ |
52 | ${libdir}/lib*.a \ | 52 | ${libdir}/lib*.a \ |
53 | ${libdir}/lib*.la \ | 53 | ${libdir}/lib*.la \ |
@@ -55,7 +55,7 @@ FILES_lib${PN}-dev = "${includedir} \ | |||
55 | ${datadir}/aclocal \ | 55 | ${datadir}/aclocal \ |
56 | ${bindir}/*-config" | 56 | ${bindir}/*-config" |
57 | 57 | ||
58 | FILES_lib${PN}-doc = "${mandir}/man3 \ | 58 | FILES_lib${BPN}-doc = "${mandir}/man3 \ |
59 | ${mandir}/man1/curl-config.1" | 59 | ${mandir}/man1/curl-config.1" |
60 | 60 | ||
61 | BBCLASSEXTEND = "native nativesdk" | 61 | BBCLASSEXTEND = "native nativesdk" |