mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 12:59:17 -04:00
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
21 lines
963 B
C
21 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))
|