diff options
Diffstat (limited to 'math/superlu/patches/patch-aa')
-rw-r--r-- | math/superlu/patches/patch-aa | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/math/superlu/patches/patch-aa b/math/superlu/patches/patch-aa new file mode 100644 index 00000000000..fd97af5b5ef --- /dev/null +++ b/math/superlu/patches/patch-aa @@ -0,0 +1,55 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/02/02 01:24:09 jtb Exp $ + +--- make.inc.orig Tue Feb 15 21:29:45 2000 ++++ make.inc +@@ -16,30 +16,31 @@ + # + # 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 ++TMGLIB = tmglib.a ++SUPERLULIB = libsuperlu.a ++BLASDEF = -DUSE_VENDOR_BLAS ++BLASLIB = -L${BLAS_PREFIX}/lib -lblas + + # + # The archiver and the flag(s) to use when building archive (library) + # If your system has no ranlib, set RANLIB = echo. + # +-ARCH = ar +-ARCHFLAGS = cr +-RANLIB = ranlib ++ARCH = $(AR) ++ARCHFLAGS = cru ++#RANLIB = ranlib + +-CC = cc +-CFLAGS = -xO3 -xcg92 ++# CC = cc ++#CFLAGS = -xO3 -xcg92 + #CFLAGS = -Wall -O2 +-FORTRAN = f77 +-FFLAGS = -O +-LOADER = cc +-LOADOPTS = #-xO3 ++FORTRAN = $(FC) ++#FFLAGS = -O ++LOADER = $(CC) ++LOADOPTS = $(LDFLAGS) + + # + # C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase) +@@ -48,4 +49,4 @@ + # + # The directory in which Matlab is installed + # +-MATLAB = /usr/sww/matlab ++# MATLAB = /usr/sww/matlab |