freebsd-ports/math/superlu/files/patch-aa
2000-10-16 01:15:12 +00:00

45 lines
1 KiB
Text

--- make.inc.orig Tue Feb 15 13:29:45 2000
+++ make.inc Sun Oct 15 18:11:48 2000
@@ -16,14 +16,14 @@
#
# 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
+SUPERLULIB = libsuperlu$(PLAT).a
+BLASLIB = ${LOCALBASE}/lib/libblas$(PLAT).a
#
# The archiver and the flag(s) to use when building archive (library)
@@ -33,12 +33,12 @@
ARCHFLAGS = cr
RANLIB = ranlib
-CC = cc
-CFLAGS = -xO3 -xcg92
-#CFLAGS = -Wall -O2
-FORTRAN = f77
-FFLAGS = -O
-LOADER = cc
+CC ?= cc
+#CFLAGS = -xO3 -xcg92
+CFLAGS ?= -Wall -O2
+FORTRAN = ${FC}
+FFLAGS ?= -O
+LOADER = ${CC}
LOADOPTS = #-xO3
#
@@ -48,4 +48,4 @@
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+MATLAB = ${LOCALBASE}/matlab