gnu: python-babel: Update to 2.7.0.
[guix.git] / gnu / packages / patches / make-impure-dirs.patch
blob83a5fbe3a50fed27cc8897ca1a2aed2be1052fd2
1 Purity: don't look for library dependencies (of the form `-lfoo') in
2 /lib and /usr/lib. Likewise, when searching for included Makefiles,
3 don't look in /usr/include and friends.
5 Patch from Nixpkgs, by Eelco Dolstra.
7 diff -rc make-3.81-orig/read.c make-3.81/read.c
8 *** make-3.81-orig/read.c 2006-03-17 15:24:20.000000000 +0100
9 --- make-3.81/read.c 2007-05-24 17:16:31.000000000 +0200
10 ***************
11 *** 99,107 ****
12 --- 99,109 ----
13 #endif
14 INCLUDEDIR,
15 #ifndef _AMIGA
16 + #if 0
17 "/usr/gnu/include",
18 "/usr/local/include",
19 "/usr/include",
20 + #endif
21 #endif
24 diff -rc make-3.81-orig/remake.c make-3.81/remake.c
25 *** make-3.81-orig/remake.c 2006-03-20 03:36:37.000000000 +0100
26 --- make-3.81/remake.c 2007-05-24 17:06:54.000000000 +0200
27 ***************
28 *** 1452,1460 ****
29 --- 1452,1462 ----
30 static char *dirs[] =
32 #ifndef _AMIGA
33 + #if 0
34 "/lib",
35 "/usr/lib",
36 #endif
37 + #endif
38 #if defined(WINDOWS32) && !defined(LIBDIR)
40 * This is completely up to the user at product install time. Just define