From: Dongxiao Xu Date: Thu, 18 Aug 2011 06:51:32 +0000 (+0800) Subject: curl: Use BPN instead of PN for style like lib${PN} X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~44448 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=618de3f788a22127def8244c0d6ebd3608ed5577;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/meta/recipes-support/curl/curl_7.21.7.bb b/meta/recipes-support/curl/curl_7.21.7.bb index 28344e20c19..2ec4402c6aa 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"