procps_3.2.7.bb: Fix compilation when usr/bin is same as /bin
authorKhem Raj <raj.khem@gmail.com>
Fri, 4 Sep 2009 18:23:28 +0000 (11:23 -0700)
committerKhem Raj <raj.khem@gmail.com>
Sun, 6 Sep 2009 02:19:54 +0000 (19:19 -0700)
* 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.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/procps/procps_3.2.7.bb

index 6da975a..b31b683 100644 (file)
@@ -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' \