summaryrefslogtreecommitdiff
path: root/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-12-19 22:47:57 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-12-19 22:47:57 +0000
commit311264a24fd8c37f9ac75b7d73c911f61e8c4e71 (patch)
tree543718ba71a3aa08c4fab4525c9c32a82fedcd48 /math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
parent- Update to 1.1 (diff)
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
Notes
Notes: svn path=/head/; revision=204153
Diffstat (limited to 'math/atlas/files/patch-CONFIG+src+SpewMakeInc.c')
-rw-r--r--math/atlas/files/patch-CONFIG+src+SpewMakeInc.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c b/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
new file mode 100644
index 000000000000..975591f13f3b
--- /dev/null
+++ b/math/atlas/files/patch-CONFIG+src+SpewMakeInc.c
@@ -0,0 +1,21 @@
+--- 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))