Skip to contentSkip to conversation

libcap: pass prefix to "make install"

PATCH Applied Phil Blundell 2 participants 2 messages Jul 14, 2011 – Jul 19, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcap: pass prefix to "make install"

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

---
 meta/recipes-support/libcap/libcap.inc     |    2 +-
 meta/recipes-support/libcap/libcap_2.20.bb |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/libcap/libcap.inc +1 -1
index 3bff3b9..efa46d6 100644
@@ -29,7 +29,7 @@ do_compile() {
 }
 
 do_install() {
-	oe_runmake install DESTDIR="${D}"
+	oe_runmake install DESTDIR="${D}" prefix="${prefix}"
 }
 
 # pam files
meta/recipes-support/libcap/libcap_2.20.bb +1 -1
index c9741c2..a2b49c6 100644
@@ -1,6 +1,6 @@
 require libcap.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4"
 SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"
Signature · 1 line
1.7.4.1
Applied
#1 lore raw
Quoted 26 lines · Phil Blundell

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

---
  meta/recipes-support/libcap/libcap.inc     |    2 +-
  meta/recipes-support/libcap/libcap_2.20.bb |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/libcap/libcap.inc +1 -1
index 3bff3b9..efa46d6 100644
@@ -29,7 +29,7 @@ do_compile() {
  }
 
  do_install() {
-	oe_runmake install DESTDIR="${D}"
+	oe_runmake install DESTDIR="${D}" prefix="${prefix}"
  }
 
  # pam files
meta/recipes-support/libcap/libcap_2.20.bb +0 -0
index c9741c2..a2b49c6 100644

meta/recipes-support/libcap/libcap_2.20.bb line 6

Quoted 7 lines
meta/recipes-support/libcap/libcap_2.20.bb +1 -1
@@ -1,6 +1,6 @@
  require libcap.inc
 
-PR = "r2"
+PR = "r3"
 
  SRC_URI[md5sum] = "10e47ed32ca2214eb0e58780282d27b4"
  SRC_URI[sha256sum] = "20e7c1ea4d3d5c410efb3a6ff138dc417912fae316d883460dcd58d9803a9220"

Merged into oe-core

Thanks
Sau!