anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / science / math / R / no-usr-local-search-paths.patch
blob6c7f6d4ee02a7acbc2e44682d1828cc1968d47a4
1 diff -ubr R-3.0.1-orig/configure R-3.0.1/configure
2 --- R-3.0.1-orig/configure 2013-07-04 10:46:42.336133947 +0200
3 +++ R-3.0.1/configure 2013-07-04 10:46:17.181919960 +0200
4 @@ -3800,13 +3800,13 @@
5 : ${LIBnn=$libnn}
6 ## We provide these defaults so that headers and libraries in
7 ## '/usr/local' are found (by the native tools, mostly).
8 -if test -f "/sw/etc/fink.conf"; then
9 - : ${CPPFLAGS="-I/sw/include -I/usr/local/include"}
10 - : ${LDFLAGS="-L/sw/lib -L/usr/local/lib"}
11 -else
12 - : ${CPPFLAGS="-I/usr/local/include"}
13 - : ${LDFLAGS="-L/usr/local/${LIBnn}"}
14 -fi
15 +# if test -f "/sw/etc/fink.conf"; then
16 +# : ${CPPFLAGS="-I/sw/include -I/usr/local/include"}
17 +# : ${LDFLAGS="-L/sw/lib -L/usr/local/lib"}
18 +# else
19 +# : ${CPPFLAGS="-I/usr/local/include"}
20 +# : ${LDFLAGS="-L/usr/local/${LIBnn}"}
21 +# fi
23 ## take care not to override the command-line setting
24 if test "${libdir}" = '${exec_prefix}/lib'; then