summaryrefslogtreecommitdiff
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:05:53 -0700
commit618de3f788a22127def8244c0d6ebd3608ed5577 (patch)
treeafb52799a4fae81bcdc53cf68d7a884c23294b15
parentf9b6f41c9249cc90f7621d446eafae5e5508dd6e (diff)
downloadopenembedded-core-618de3f788a22127def8244c0d6ebd3608ed5577.tar.gz
openembedded-core-618de3f788a22127def8244c0d6ebd3608ed5577.tar.bz2
openembedded-core-618de3f788a22127def8244c0d6ebd3608ed5577.tar.xz
openembedded-core-618de3f788a22127def8244c0d6ebd3608ed5577.zip
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. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
-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 28344e20c..2ec4402c6 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"
FILES_${PN}-doc = "${mandir}/man1/curl.1"
-FILES_lib${PN} = "${libdir}/lib*.so.*"
-RRECOMMENDS_lib${PN} += "${PN}-certs"
-FILES_lib${PN}-dev = "${includedir} \
+FILES_lib${BPN} = "${libdir}/lib*.so.*"
+RRECOMMENDS_lib${BPN} += "${PN}-certs"
+FILES_lib${BPN}-dev = "${includedir} \
${libdir}/lib*.so \
${libdir}/lib*.a \
${libdir}/lib*.la \
@@ -55,7 +55,7 @@ FILES_lib${PN}-dev = "${includedir} \
${datadir}/aclocal \
${bindir}/*-config"
-FILES_lib${PN}-doc = "${mandir}/man3 \
+FILES_lib${BPN}-doc = "${mandir}/man3 \
${mandir}/man1/curl-config.1"
BBCLASSEXTEND = "native nativesdk"