mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
5906459791
* 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>
45 lines
1000 B
Plaintext
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
|