]> code.ossystems Code Review - openembedded-core.git/commitdiff
libcap: pass prefix to "make install"
authorPhil Blundell <philb@gnu.org>
Thu, 14 Jul 2011 14:45:31 +0000 (15:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jul 2011 16:33:57 +0000 (17:33 +0100)
Otherwise it will use /usr by default which may not be the right place.

Signed-off-by: Phil Blundell <philb@gnu.org>
meta/recipes-support/libcap/libcap.inc
meta/recipes-support/libcap/libcap_2.20.bb

index 3bff3b99cfc9439df90369c47a6b3fe8ae476d8d..efa46d66497ef4a2f4935bb068d4a0c8b5659d05 100644 (file)
@@ -29,7 +29,7 @@ do_compile() {
 }
 
 do_install() {
-       oe_runmake install DESTDIR="${D}"
+       oe_runmake install DESTDIR="${D}" prefix="${prefix}"
 }
 
 # pam files
index c9741c252adb78c2924c5b6cbe95a1161945eb10..a2b49c699fc11532e53da5ca5fdc4c1fa99203ee 100644 (file)
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4"
 SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"