summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-18 14:51:32 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-19 09:29:20 -0700
commit90d20d0d63d273218eeff0b592e5b0783e8259f8 (patch)
treed3004914dcc47a35bdcde65b8c8a03bbf1087cb4
parent30ba9839a2dfcd144c3369644c00e1551b820b33 (diff)
downloadpoky-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.bb8
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
46FILES_${PN}-doc = "${mandir}/man1/curl.1" 46FILES_${PN}-doc = "${mandir}/man1/curl.1"
47 47
48FILES_lib${PN} = "${libdir}/lib*.so.*" 48FILES_lib${BPN} = "${libdir}/lib*.so.*"
49RRECOMMENDS_lib${PN} += "${PN}-certs" 49RRECOMMENDS_lib${BPN} += "${PN}-certs"
50FILES_lib${PN}-dev = "${includedir} \ 50FILES_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
58FILES_lib${PN}-doc = "${mandir}/man3 \ 58FILES_lib${BPN}-doc = "${mandir}/man3 \
59 ${mandir}/man1/curl-config.1" 59 ${mandir}/man1/curl-config.1"
60 60
61BBCLASSEXTEND = "native nativesdk" 61BBCLASSEXTEND = "native nativesdk"