freebsd-ports/math/superlu/files/patch-make.inc
2003-06-10 23:52:16 +00:00

42 lines
998 B
PHP

--- make.inc.orig Wed Sep 4 06:02:16 2002
+++ make.inc Wed Jun 11 08:48:52 2003
@@ -16,14 +16,15 @@
#
# The machine (platform) identifier to append to the library names
#
-PLAT = _solaris
+#PLAT =
#
# The name of the libraries to be created/linked to
#
-TMGLIB = tmglib$(PLAT).a
-SUPERLULIB = superlu$(PLAT).a
-BLASLIB = ../blas$(PLAT).a
+TMGLIB = libtmg.a
+SUPERLULIB = libsuperlu.a
+BLASDEF = -DUSE_VENDOR_BLAS
+BLASLIB = %%BLAS_LIBS%%
#
# The archiver and the flag(s) to use when building archive (library)
@@ -33,13 +34,12 @@
ARCHFLAGS = cr
RANLIB = ranlib
-CC = cc
-CFLAGS = -xO3 -xcg92
-#CFLAGS = -Wall -O2
-FORTRAN = f77
-FFLAGS = -O
-LOADER = cc
-LOADOPTS = #-xO3
+CC = %%CC%%
+CFLAGS = %%CFLAGS%%
+FORTRAN = %%FC%%
+FFLAGS = %%FFLAGS%%
+LOADER = ${CC}
+#LOADOPTS = -O2
#
# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)