git.iko.soy/typeable/nixpkgs
on master help sign in
gnumake-3.81: remove

It doesn't seem to be of any use, except for spitting warnings about md5.

commite78ef9cc12b60fb7e662d415d666d89971364566 authorVladimír Čunát <vcunat@gmail.com> dateSat 29 Oct 2016, 15:48 (10 years ago) parentffc6e46
4 files changed−208
pkgs/development/tools/build-managers/gnumake/3.81/default.nix−48 pkgs/development/tools/build-managers/gnumake/3.81/impure-dirs.patch−34 pkgs/development/tools/build-managers/gnumake/3.81/log-3.81.patch−125 pkgs/top-level/all-packages.nix−1
pkgs/development/tools/build-managers/gnumake/3.81/default.nixdeleted−48
@@ -1,48 +0,0 @@
1−{stdenv, fetchurl}:
2−
3−let version = "3.81"; in
4−stdenv.mkDerivation {
5− name = "gnumake-${version}";
6−
7− src = fetchurl {
8− url = "mirror://gnu/make/make-${version}.tar.bz2";
9− md5 = "354853e0b2da90c527e35aabb8d6f1e6";
10− };
11−
12− doCheck = true;
13−
14− patches =
15− [
16− # Provide nested log output for subsequent pretty-printing by
17− # nix-log2xml.
18− ./log-3.81.patch
19−
20− # Purity: don't look for library dependencies (of the form
21− # `-lfoo') in /lib and /usr/lib. It's a stupid feature anyway.
22− # Likewise, when searching for included Makefiles, don't look in
23− # /usr/include and friends.
24− ./impure-dirs.patch
25− ];
26− patchFlags = "-p0";
27−
28− meta = {
29− description = "GNU Make, a program controlling the generation of non-source files from sources";
30−
31− longDescription =
32− '' Make is a tool which controls the generation of executables and
33− other non-source files of a program from the program's source files.
34−
35− Make gets its knowledge of how to build your program from a file
36− called the makefile, which lists each of the non-source files and
37− how to compute it from other files. When you write a program, you
38− should write a makefile for it, so that it is possible to use Make
39− to build and install the program.
40− '';
41−
42− homepage = http://www.gnu.org/software/make/;
43−
44− license = stdenv.lib.licenses.gpl2Plus;
45− maintainers = [ ];
46− platforms = stdenv.lib.platforms.unix;
47− };
48−}
pkgs/development/tools/build-managers/gnumake/3.81/impure-dirs.patchdeleted−34
@@ -1,34 +0,0 @@
1−diff -rc read.c read.c
2−*** read.c 2006-03-17 15:24:20.000000000 +0100
3−--- read.c 2007-05-24 17:16:31.000000000 +0200
4−***************
5−*** 99,107 ****
6−--- 99,109 ----
7− #endif
8− INCLUDEDIR,
9− #ifndef _AMIGA
10−+ #if 0
11− "/usr/gnu/include",
12− "/usr/local/include",
13− "/usr/include",
14−+ #endif
15− #endif
16− 0
17− };
18−diff -rc reremake.c
19−*** remake.c 2006-03-20 03:36:37.000000000 +0100
20−--- remake.c 2007-05-24 17:06:54.000000000 +0200
21−***************
22−*** 1452,1460 ****
23−--- 1452,1462 ----
24− static char *dirs[] =
25− {
26− #ifndef _AMIGA
27−+ #if 0
28− "/lib",
29− "/usr/lib",
30− #endif
31−+ #endif
32− #if defined(WINDOWS32) && !defined(LIBDIR)
33− /*
34− * This is completely up to the user at product install time. Just define
pkgs/development/tools/build-managers/gnumake/3.81/log-3.81.patchdeleted−125
@@ -1,125 +0,0 @@
1−diff -rc job.c job.c
2−*** job.c 2006-03-20 04:03:04.000000000 +0100
3−--- job.c 2009-01-19 19:37:28.000000000 +0100
4−***************
5−*** 1083,1089 ****
6− appear. */
7−
8− message (0, (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
9−! ? "%s" : (char *) 0, p);
10−
11− /* Tell update_goal_chain that a command has been started on behalf of
12− this target. It is important that this happens here and not in
13−--- 1083,1089 ----
14− appear. */
15−
16− message (0, (just_print_flag || (!(flags & COMMANDS_SILENT) && !silent_flag))
17−! ? (enable_nested_output ? "\e[3s\e[a%s\e[b" : "%s") : (char *) 0, p);
18−
19− /* Tell update_goal_chain that a command has been started on behalf of
20− this target. It is important that this happens here and not in
21−diff -rc main.c main.c
22−*** main.c 2006-03-20 03:36:37.000000000 +0100
23−--- main.c 2009-01-19 19:41:41.000000000 +0100
24−***************
25−*** 886,891 ****
26−--- 886,900 ----
27− }
28−
29−
30−+ static void close_nesting()
31−+ {
32−+ while (stdout_nesting_level--)
33−+ printf("\e[q");
34−+ while (stderr_nesting_level--)
35−+ fprintf(stderr, "\e[q");
36−+ }
37−+
38−+
39− #ifdef _AMIGA
40− int
41− main (int argc, char **argv)
42−***************
43−*** 931,936 ****
44−--- 940,950 ----
45− atexit (close_stdout);
46− #endif
47−
48−+ atexit(close_nesting);
49−+
50−+ if (getenv("NIX_INDENT_MAKE"))
51−+ enable_nested_output = 1;
52−+
53− /* Needed for OS/2 */
54− initialize_main(&argc, &argv);
55−
56−***************
57−*** 3095,3100 ****
58−--- 3109,3120 ----
59−
60− /* Use entire sentences to give the translators a fighting chance. */
61−
62−+ if (entering && enable_nested_output)
63−+ {
64−+ printf("\e[p");
65−+ stdout_nesting_level++;
66−+ }
67−+
68− if (makelevel == 0)
69− if (starting_directory == 0)
70− if (entering)
71−***************
72−*** 3124,3129 ****
73−--- 3144,3159 ----
74− printf (_("%s[%u]: Leaving directory `%s'\n"),
75− program, makelevel, starting_directory);
76−
77−+ if (!entering && enable_nested_output)
78−+ {
79−+ printf("\e[q");
80−+ stdout_nesting_level--;
81−+ }
82−+
83− /* Flush stdout to be sure this comes before any stderr output. */
84− fflush (stdout);
85− }
86−+
87−+ int enable_nested_output = 0;
88−+ int stdout_nesting_level = 0;
89−+ int stderr_nesting_level = 0;
90−diff -rc make.h
91−*** make.h 2006-02-16 00:54:43.000000000 +0100
92−--- make.h 2009-01-19 19:32:03.000000000 +0100
93−***************
94−*** 609,611 ****
95−--- 609,614 ----
96− #define ENULLLOOP(_v,_c) do{ errno = 0; \
97− while (((_v)=_c)==0 && errno==EINTR); }while(0)
98−
99−+ extern int enable_nested_output;
100−+ extern int stdout_nesting_level;
101−+ extern int stderr_nesting_level;
102−diff -rc reremake.c
103−*** remake.c 2006-03-20 03:36:37.000000000 +0100
104−--- remake.c 2009-01-19 19:39:40.000000000 +0100
105−***************
106−*** 1120,1126 ****
107−--- 1120,1137 ----
108− /* The normal case: start some commands. */
109− if (!touch_flag || file->cmds->any_recurse)
110− {
111−+ if (enable_nested_output)
112−+ {
113−+ log_working_directory (1);
114−+ fprintf(stderr, "\e[pbuilding %s\n", file->name);
115−+ stderr_nesting_level++;
116−+ }
117− execute_file_commands (file);
118−+ if (enable_nested_output)
119−+ {
120−+ fprintf(stderr, "\e[q");
121−+ stderr_nesting_level--;
122−+ }
123− return;
124− }
125−
pkgs/top-level/all-packages.nix−1
@@ -6045,7 +6045,6 @@ in
60456045 gnum4 = callPackage ../development/tools/misc/gnum4 { };
60466046
60476047 gnumake380 = callPackage ../development/tools/build-managers/gnumake/3.80 { };
6048− gnumake381 = callPackage ../development/tools/build-managers/gnumake/3.81 { };
60496048 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { };
60506049 gnumake3 = gnumake382;
60516050 gnumake40 = callPackage ../development/tools/build-managers/gnumake/4.0 { };