Package: atlas / 3.10.3-1~bpo8+1

kfreebsd.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/CONFIG/src/SpewMakeInc.c
+++ b/CONFIG/src/SpewMakeInc.c
@@ -805,8 +805,10 @@ int main(int nargs, char **args)
             fprintf(fpout, " -melf_i386");
          else if (ptrbits == 64)
             fprintf(fpout, " -melf_x86_64");
-         if (OS == OSFreeBSD)
-            fprintf(fpout, "_fbsd");
+ #ifdef __FreeBSD_kernel__
+          fprintf(fpout, "_fbsd");
+#endif
+
       }
    }
    fprintf(fpout, "\n   F77SYSLIB = %s\n", f77lib ? f77lib : "");