Fix to make procps build with gnumake 3.82

svn path=/nixpkgs/branches/stdenv-updates/; revision=23492
This commit is contained in:
Lluís Batlle i Rossell 2010-08-29 09:58:53 +00:00
parent 0fa35eee66
commit 94324d95b3
2 changed files with 14 additions and 1 deletions

View file

@ -7,6 +7,6 @@ stdenv.mkDerivation {
url = http://procps.sourceforge.net/procps-3.2.8.tar.gz;
sha256 = "0d8mki0q4yamnkk4533kx8mc0jd879573srxhg6r2fs3lkc6iv8i";
};
patches = [./makefile.patch ./procps-build.patch];
patches = [./makefile.patch ./procps-build.patch ./gnumake3.82.patch];
buildInputs = [ncurses];
}

View file

@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 09fb3ed..59eba16 100644
--- a/Makefile
+++ b/Makefile
@@ -174,7 +174,7 @@ 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 ps/module.mk
do_all: $(ALL)