[oe-commits] Richard Purdie : pax-utils-native: Make sure prefix variable is correct during do_install

git version control git at git.openembedded.org
Thu May 6 13:00:56 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 58ddfb17c765dac487fa720b982bf13b441e743e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=58ddfb17c765dac487fa720b982bf13b441e743e

Author: Richard Purdie <rpurdie at linux.intel.com>
Date:   Thu May  6 14:00:35 2010 +0100

pax-utils-native: Make sure prefix variable is correct during do_install

Signed-off-by: Richard Purdie <rpurdie at linux.intel.com>

---

 recipes/pax-utils/pax-utils_0.1.13.bb |    2 +-
 recipes/pax-utils/pax-utils_0.1.19.bb |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/pax-utils/pax-utils_0.1.13.bb b/recipes/pax-utils/pax-utils_0.1.13.bb
index 5ede5e6..4ca926c 100644
--- a/recipes/pax-utils/pax-utils_0.1.13.bb
+++ b/recipes/pax-utils/pax-utils_0.1.13.bb
@@ -12,7 +12,7 @@ do_compile() {
 }
 
 do_install() {
-    oe_runmake DESTDIR=${D} install
+    oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
 }
 
 NATIVE_INSTALL_WORKS = "1"
diff --git a/recipes/pax-utils/pax-utils_0.1.19.bb b/recipes/pax-utils/pax-utils_0.1.19.bb
index 9813126..d7cd49f 100644
--- a/recipes/pax-utils/pax-utils_0.1.19.bb
+++ b/recipes/pax-utils/pax-utils_0.1.19.bb
@@ -5,6 +5,8 @@ LICENSE     = "GPLv2"
 SRC_URI     = "http://gentoo.osuosl.org/distfiles/pax-utils-${PV}.tar.bz2"
 S           = "${WORKDIR}/pax-utils-${PV}"
 
+PR = "r2"
+
 CPPFLAGS   += "-D_GNU_SOURCE "
 
 do_compile() {
@@ -12,7 +14,7 @@ do_compile() {
 }
 
 do_install() {
-    oe_runmake DESTDIR=${D} install
+    oe_runmake PREFIX=${D}${prefix} DESTDIR=${D} install
 }
 
 NATIVE_INSTALL_WORKS = "1"





More information about the Openembedded-commits mailing list