lol

gnumake: add version 4.1

+77 -1
+41
pkgs/development/tools/build-managers/gnumake/4.1/default.nix
··· 1 + { stdenv, fetchurl }: 2 + 3 + let 4 + version = "4.1"; 5 + in 6 + stdenv.mkDerivation { 7 + name = "gnumake-${version}"; 8 + 9 + src = fetchurl { 10 + url = "mirror://gnu/make/make-${version}.tar.bz2"; 11 + sha256 = "19gwwhik3wdwn0r42b7xcihkbxvjl9r2bdal8nifc3k5i4rn3iqb"; 12 + }; 13 + 14 + patchFlags = "-p0"; 15 + patches = [ 16 + # Purity: don't look for library dependencies (of the form `-lfoo') in /lib 17 + # and /usr/lib. It's a stupid feature anyway. Likewise, when searching for 18 + # included Makefiles, don't look in /usr/include and friends. 19 + ./impure-dirs.patch 20 + ]; 21 + 22 + meta = { 23 + homepage = http://www.gnu.org/software/make/; 24 + description = "A tool to control the generation of non-source files from sources"; 25 + license = stdenv.lib.licenses.gpl3Plus; 26 + 27 + longDescription = '' 28 + Make is a tool which controls the generation of executables and 29 + other non-source files of a program from the program's source files. 30 + 31 + Make gets its knowledge of how to build your program from a file 32 + called the makefile, which lists each of the non-source files and 33 + how to compute it from other files. When you write a program, you 34 + should write a makefile for it, so that it is possible to use Make 35 + to build and install the program. 36 + ''; 37 + 38 + maintainers = with stdenv.lib.maintainers; [ ludo simons ]; 39 + platforms = stdenv.lib.platforms.all; 40 + }; 41 + }
+34
pkgs/development/tools/build-managers/gnumake/4.1/impure-dirs.patch
··· 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
+2 -1
pkgs/top-level/all-packages.nix
··· 4577 4577 gnumake380 = callPackage ../development/tools/build-managers/gnumake/3.80 { }; 4578 4578 gnumake381 = callPackage ../development/tools/build-managers/gnumake/3.81 { }; 4579 4579 gnumake382 = callPackage ../development/tools/build-managers/gnumake/3.82 { }; 4580 - gnumake40 = callPackage ../development/tools/build-managers/gnumake/4.0 { }; 4580 + gnumake40 = callPackage ../development/tools/build-managers/gnumake/4.0 { }; 4581 + gnumake41 = callPackage ../development/tools/build-managers/gnumake/4.1 { }; 4581 4582 gnumake = gnumake382; 4582 4583 4583 4584 gob2 = callPackage ../development/tools/misc/gob2 { };