diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-05-01 01:21:10 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-05-01 01:21:10 +0000 |
commit | e4cf0afce04a6e4423ba095689ab35d577e0aa5a (patch) | |
tree | 3f9ed186b68efee87693bf9a30cedc397dbb276e /math/lapack/patches | |
parent | 3f66920b25f6330dab245c5d8dfa95de99bd6511 (diff) | |
download | pkgsrc-e4cf0afce04a6e4423ba095689ab35d577e0aa5a.tar.gz |
be consistent about obeying PKG_FC. (don't hardcode f77). Fixes problems
when f2c-f77 is used.
Diffstat (limited to 'math/lapack/patches')
-rw-r--r-- | math/lapack/patches/patch-ab | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/math/lapack/patches/patch-ab b/math/lapack/patches/patch-ab index 088e473cc73..771dc0978b3 100644 --- a/math/lapack/patches/patch-ab +++ b/math/lapack/patches/patch-ab @@ -1,18 +1,15 @@ -$NetBSD: patch-ab,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ +$NetBSD: patch-ab,v 1.2 2001/05/01 01:21:11 dmcmahill Exp $ ---- make.inc.orig Thu Nov 4 19:23:14 1999 -+++ make.inc -@@ -8,7 +8,7 @@ - # +--- make.inc.orig Thu Nov 4 14:23:14 1999 ++++ make.inc Mon Apr 30 21:15:38 2001 +@@ -9,5 +9,5 @@ # The machine (platform) identifier to append to the library names # -PLAT = _SUN4SOL2 +PLAT = # # Modify the FORTRAN and OPTS definitions to refer to the - # compiler and desired compiler options for your machine. NOOPT -@@ -16,23 +16,23 @@ - # selected. Define LOADER and LOADOPTS to refer to the loader and +@@ -17,21 +17,21 @@ # desired load options for your machine. # -FORTRAN = f77 @@ -25,7 +22,8 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ -NOOPT = -u -f +NOOPT = #NOOPT = -u -f -mt - LOADER = f77 +-LOADER = f77 ++LOADER = $(FC) #LOADOPTS = -mt -LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa +LOADOPTS = $(LDFLAGS) @@ -40,15 +38,12 @@ $NetBSD: patch-ab,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $ +#RANLIB = echo # # The location of the libraries to which you will link. (The - # machine-specific, optimized BLAS library should be used whenever -@@ -40,8 +40,8 @@ - # +@@ -41,6 +41,6 @@ #BLASLIB = ../../blas$(PLAT).a #BLASLIB = -xlic_lib=sunperf_mt -BLASLIB = -xlic_lib=sunperf -LAPACKLIB = lapack$(PLAT).a -+BLASLIB = -L${BLAS_PREFIX}/lib -lblas ++BLASLIB = -Wl,-R${BLAS_PREFIX}/lib -L${BLAS_PREFIX}/lib -lblas +LAPACKLIB = liblapack.a TMGLIB = tmglib$(PLAT).a EIGSRCLIB = eigsrc$(PLAT).a - LINSRCLIB = linsrc$(PLAT).a |