1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
Maho Nakata 311264a24f Update to 3.8.0.
Only verified on i386 and amd64 FreeBSD 7BETA.

Discussions with: bf <bf2006a@yahoo.com>, truckman
and Tijl Coosemans <tijl@ulyssis.org>.

PR: 118270 and 118271
2007-12-19 22:47:57 +00:00

22 lines
963 B
C

--- CONFIG/src/SpewMakeInc.c.orig 2007-10-11 05:40:21.000000000 +0900
+++ CONFIG/src/SpewMakeInc.c 2007-10-29 11:03:11.000000000 +0900
@@ -693,14 +693,14 @@
fprintf(fpout, "# ------------------------------------\n");
fprintf(fpout, "# Reference and system libraries\n");
fprintf(fpout, "# ------------------------------------\n");
- fprintf(fpout, " BLASlib = \n");
- fprintf(fpout, " FBLASlib = \n");
- fprintf(fpout, " FLAPACKlib = ");
+ fprintf(fpout, " BLASlib = -L%%LOCALBASE%%/lib -lblas\n");
+ fprintf(fpout, " FBLASlib = -L%%LOCALBASE%%/lib -lblas\n");
+ fprintf(fpout, " FLAPACKlib = -L%%LOCALBASE%%/lib -llapack");
if (flapack) fprintf(fpout, "%s", flapack);
fprintf(fpout, "\n");
fprintf(fpout, " SLAPACKlib = \n");
if (THREADS)
- fprintf(fpout, " LIBS = -lpthread");
+ fprintf(fpout, " LIBS = %%PTHREAD_LIBS%%");
else
fprintf(fpout, " LIBS =");
if (!OSIsWin(OS))