1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/math/superlu/files/patch-aa

45 lines
1000 B
Plaintext
Raw Normal View History

--- make.inc.orig Fri Aug 6 15:10:24 1999
+++ make.inc Thu Dec 16 04:00:37 1999
@@ -16,14 +16,14 @@
1999-05-09 16:53:50 +00:00
#
# 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
1999-05-09 16:53:50 +00:00
#
# The archiver and the flag(s) to use when building archive (library)
@@ -33,12 +33,12 @@
1999-05-09 16:53:50 +00:00
ARCHFLAGS = cr
RANLIB = ranlib
-CC = gcc
+CC ?= gcc
#CFLAGS = -xO3 -xcg92
-CFLAGS = -Wall -O2
-FORTRAN = f77
-FFLAGS = -O
-LOADER = gcc
+CFLAGS ?= -Wall -O2
+FORTRAN = ${FC}
+FFLAGS ?= -O
+LOADER = ${CC}
LOADOPTS = #-xO3
1999-05-09 16:53:50 +00:00
#
@@ -48,4 +48,4 @@
1999-05-09 16:53:50 +00:00
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+MATLAB = ${LOCALBASE}/matlab