Skip to contentSkip to conversation

procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

PATCH New Khem Raj 1 participant 1 message Sep 4, 2009

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin

* On DISTROs like micro where bindir and base_bindir are same, procps does not compile because it wants to install binaries in both places. We have to pass the variable to make file since it does not use autotools.

---
 recipes/procps/procps_3.2.7.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
recipes/procps/procps_3.2.7.bb +4 -1
index 6da975a..b31b683 100644
@@ -1,6 +1,6 @@
 require procps.inc
 
-PR = "r8"
+PR = "r9"
 
 inherit update-rc.d
 
@@ -23,6 +23,9 @@ CONFFILES_${PN} = "${sysconfdir}/sysctl.conf"
 
 EXTRA_OEMAKE = "CFLAGS=-I${STAGING_INCDIR} \
                 CPPFLAGS=-I${STAGING_INCDIR} \
+		usr/bin=${D}${bindir}/ \
+		bin=${D}${base_bindir}/ \
+		usr/proc/bin=${D}${bindir}/ \
                 LDFLAGS="${LDFLAGS}" \
                 CURSES=-lncurses \
                 install='install -D' \
Signature · 1 line
1.6.3.3