* [PATCH] rpm: Fix case where ${B} != ${S}
@ 2013-03-18 1:36 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-03-18 1:36 UTC (permalink / raw)
To: openembedded-core
Fix out of tree builds by removing assumptions about cwd and using
full paths to files in ${S}.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
index cdfb5ff..6286771 100644
--- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb
+++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb
@@ -358,13 +358,13 @@ FILES_${PN}-staticdev = " \
do_configure() {
# Disable tests!
- echo "all:" > tests/Makefile.am
+ echo "all:" > ${S}/tests/Makefile.am
- ./autogen.sh
+ ${S}/autogen.sh
# NASTY hack to make sure configure files the right pkg-config file...
sed -e 's/pkg-config --exists uuid/pkg-config --exists ossp-uuid/g' \
- -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i configure
+ -e 's/pkg-config uuid/pkg-config ossp-uuid/g' -i ${S}/configure
export varprefix=${localstatedir}
oe_runconf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-18 1:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 1:36 [PATCH] rpm: Fix case where ${B} != ${S} Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox