procps: fix for build against make 3.82

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock 2010-11-12 16:36:54 +00:00
parent 2e0ab8c18f
commit 857534f943
2 changed files with 19 additions and 1 deletions

View File

@ -0,0 +1,17 @@
Fix for stricter Makefile parser in Make 3.82 take from Gentoo bugzilla:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-process/procps/files/procps-3.2.8%2Bgmake-3.82.patch?revision=1.1
Index: procps-3.2.8/Makefile
===================================================================
--- procps-3.2.8.orig/Makefile
+++ procps-3.2.8/Makefile
@@ -174,7 +174,8 @@ INSTALL := $(BINFILES) $(MANFILES)
# want this rule first, use := on ALL, and ALL not filled in yet
all: do_all
--include */module.mk
+-include proc/module.mk
+-include ps/module.mk
do_all: $(ALL)

View File

@ -1,6 +1,6 @@
require procps.inc
PR = "r9"
PR = "r10"
inherit update-rc.d update-alternatives
@ -16,6 +16,7 @@ SRC_URI += "file://procmodule.patch;patch=1 \
file://linux-limits.patch;patch=1 \
file://sysctl.conf \
file://procps.init \
file://procps-3.2.8+gmake-3.82.patch \
"
FILES = "${bindir}/top.${PN} ${base_bindir}/ps.${PN} ${bindir}/uptime.${PN} ${base_bindir}/kill.${PN} \