[oe-commits] Phil Blundell : libcap: pass prefix to "make install"

git version control git at git.openembedded.org
Tue Jul 19 16:34:20 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 7fecde55acf730f07009d8b040e92f931d5ebd88
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7fecde55acf730f07009d8b040e92f931d5ebd88

Author: Phil Blundell <philb at gnu.org>
Date:   Thu Jul 14 15:45:31 2011 +0100

libcap: pass prefix to "make install"

Otherwise it will use /usr by default which may not be the right place.

Signed-off-by: Phil Blundell <philb at gnu.org>

---

 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.20.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index 3bff3b9..efa46d6 100644
--- a/meta/recipes-support/libcap/libcap.inc
+++ b/meta/recipes-support/libcap/libcap.inc
@@ -29,7 +29,7 @@ do_compile() {
 }
 
 do_install() {
-	oe_runmake install DESTDIR="${D}"
+	oe_runmake install DESTDIR="${D}" prefix="${prefix}"
 }
 
 # pam files
diff --git a/meta/recipes-support/libcap/libcap_2.20.bb b/meta/recipes-support/libcap/libcap_2.20.bb
index c9741c2..a2b49c6 100644
--- a/meta/recipes-support/libcap/libcap_2.20.bb
+++ b/meta/recipes-support/libcap/libcap_2.20.bb
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4"
 SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"





More information about the Openembedded-commits mailing list