libcap: respect ${base_sbindir}
authorPhil Blundell <philb@gnu.org>
Sat, 22 Sep 2012 13:25:19 +0000 (14:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Sep 2012 10:30:35 +0000 (11:30 +0100)
Need to pass the path explicitly to "make install" to ensure that the binaries end up
in the right locations.

(From OE-Core rev: 3dffb9f577b794e8b78fb884adf9a15c45965bc4)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/libcap/libcap.inc
meta/recipes-support/libcap/libcap_2.22.bb

index 5d7291e..bfaeffd 100644 (file)
@@ -43,7 +43,7 @@ do_compile() {
 }
 
 do_install() {
-       oe_runmake install DESTDIR="${D}" prefix="${prefix}"
+       oe_runmake install DESTDIR="${D}" prefix="${prefix}" SBINDIR="${D}${base_sbindir}"
 }
 
 do_install_append() {
index b631c51..d57c102 100644 (file)
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI[md5sum] = "b4896816b626bea445f0b3849bdd4077"
 SRC_URI[sha256sum] = "e1cae65d8febf2579be37c255d2e058715785ead481a4e6a4357a06aff84721f"