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

42 lines
965 B
Plaintext
Raw Normal View History

1999-05-09 16:53:50 +00:00
--- make.inc.orig Fri Mar 27 07:58:12 1998
+++ make.inc Mon May 10 01:43:38 1999
@@ -14,14 +14,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 = $(PREFIX)/lib/libblas$(PLAT).a
#
# The archiver and the flag(s) to use when building archive (library)
@@ -31,10 +31,10 @@
ARCHFLAGS = cr
RANLIB = ranlib
-CC = cc
-CFLAGS = -xO3 -xcg92
-LOADER = cc
-LOADOPTS = -xO3
+CC = gcc
+CFLAGS = -O3
+LOADER = gcc
+LOADOPTS = -O3
#
# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
@@ -43,4 +43,4 @@
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+MATLAB = ${PREFIX}/matlab