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
Steve Price 5906459791 * Update to version 2.0.
* Modified patches to suppport CC/CFLAGS properly
* Updated WWW: line of pkg/DESCR
* Fixed pkg/PLIST

PR:		15501
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-12-23 19:30:26 +00:00

45 lines
1000 B
Plaintext

--- make.inc.orig Fri Aug 6 15:10:24 1999
+++ make.inc Thu Dec 16 04:00:37 1999
@@ -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 = 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
#
@@ -48,4 +48,4 @@
#
# The directory in which Matlab is installed
#
-MATLAB = /usr/sww/matlab
+MATLAB = ${LOCALBASE}/matlab