summaryrefslogtreecommitdiff
path: root/math/lapack
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-05-01 01:21:10 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-05-01 01:21:10 +0000
commite4cf0afce04a6e4423ba095689ab35d577e0aa5a (patch)
tree3f9ed186b68efee87693bf9a30cedc397dbb276e /math/lapack
parent3f66920b25f6330dab245c5d8dfa95de99bd6511 (diff)
downloadpkgsrc-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')
-rw-r--r--math/lapack/distinfo4
-rw-r--r--math/lapack/patches/patch-ab23
2 files changed, 11 insertions, 16 deletions
diff --git a/math/lapack/distinfo b/math/lapack/distinfo
index 0d4c9e84ad5..d3d5d44651d 100644
--- a/math/lapack/distinfo
+++ b/math/lapack/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 08:45:41 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/05/01 01:21:10 dmcmahill Exp $
SHA1 (lapack-20010201.tar.gz) = 47d85508d87d60e32b613ef0c951d0be4bf10e72
Size (lapack-20010201.tar.gz) = 4991992 bytes
SHA1 (patch-aa) = 523854177f1f91d7ad6eed9e61b9f69895e10f0a
-SHA1 (patch-ab) = 88d9d4a80cecb7e831010e59f90347173812fbbe
+SHA1 (patch-ab) = 038fb06fa5ce760e2764c7492a1a194f6fbc2c75
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