projects/guix·blob python-team · refs

30 lines · 942 B

1Purity: don't look for library dependencies (of the form `-lfoo') in
2/lib and /usr/lib. Likewise, when searching for included Makefiles,
3don't look in /usr/include and friends.
4
5Borrowed from similar patch for GNU Make and adjusted for Remake.
6
7--- remake-4.3+dbg-1.5/src/read.c.orig 2020-03-14 17:06:16.000000000 -0500
8+++ remake-4.3+dbg-1.5/src/read.c 2020-07-31 22:34:03.862383862 -0500
9@@ -104,7 +104,7 @@
10 # define INCLUDEDIR "."
11 #endif
12 INCLUDEDIR,
13-#ifndef _AMIGA
14+#if 0
15 "/usr/gnu/include",
16 "/usr/local/include",
17 "/usr/include",
18--- remake-4.3+dbg-1.5/src/remake.c.orig 2020-03-14 17:06:16.000000000 -0500
19+++ remake-4.3+dbg-1.5/src/remake.c 2020-07-31 22:34:26.798330508 -0500
20@@ -1665,8 +1665,10 @@
21 {
22 static const char *dirs[] =
23 {
24+#if 0
25 "/lib",
26 "/usr/lib",
27+#endif
28 #if defined(WINDOWS32) && !defined(LIBDIR)
29 /*
30 * This is completely up to the user at product install time. Just define