They differ at times because one is set from the db_cv_path_mkdir and the other 
is
found during config time for the host (/usr/bin/mkdir), in the macros we should 
just
use __mkdir for the __mkdir_p variant.

[YOCTO #4452]

Signed-off-by: Saul Wold <[email protected]>

---
 meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb 
b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index 7d2cba4..24f0d3c 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -359,6 +359,7 @@ FILES_${PN}-staticdev = " \
 do_configure() {
        # Disable tests!
        echo "all:" > ${S}/tests/Makefile.am
+       sed -e 's/@__MKDIR_P@/%{__mkdir} -p/' -i ${S}/macros/macros.in
 
        ( cd ${S}; ${S}/autogen.sh )
 
-- 
1.8.1.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to