summaryrefslogtreecommitdiff
path: root/math/lapack/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'math/lapack/patches/patch-aa')
-rw-r--r--math/lapack/patches/patch-aa58
1 files changed, 49 insertions, 9 deletions
diff --git a/math/lapack/patches/patch-aa b/math/lapack/patches/patch-aa
index d3ead837b4b..8cb8adea731 100644
--- a/math/lapack/patches/patch-aa
+++ b/math/lapack/patches/patch-aa
@@ -1,13 +1,53 @@
-$NetBSD: patch-aa,v 1.1.1.1 2001/02/01 23:30:56 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2003/12/04 10:32:30 adam Exp $
---- Makefile.orig Wed May 17 17:33:22 2000
-+++ Makefile
-@@ -6,7 +6,7 @@
+--- SRC/Makefile.orig 1999-11-04 20:26:09.000000000 +0100
++++ SRC/Makefile
+@@ -280,24 +280,24 @@ ZLASRC = \
+ all: single complex double complex16
- include make.inc
+ single: $(SLASRC) $(ALLAUX) $(SCLAUX)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(SLASRC) $(ALLAUX) \
+- $(SCLAUX)
+- $(RANLIB) ../$(LAPACKLIB)
++ ${LIBTOOL} --mode=link --tag=CC ${FC} -o ../liblapack.la \
++ $(SLASRC:.o=.lo) $(ALLAUX:.o=.lo) $(SCLAUX:.o=.lo) \
++ -rpath ${PREFIX}/lib -version-info 3:0
--all: install lib testing blas_testing timing blas_timing
-+all: install lapacklib
+ complex: $(CLASRC) $(ALLAUX) $(SCLAUX)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(CLASRC) $(ALLAUX) \
+- $(SCLAUX)
+- $(RANLIB) ../$(LAPACKLIB)
++ ${LIBTOOL} --mode=link --tag=CC ${FC} -o ../liblapack.la \
++ $(CLASRC:.o=.lo) $(ALLAUX:.o=.lo) $(SCLAUX:.o=.lo) \
++ -rpath ${PREFIX}/lib -version-info 3:0
- lib: lapacklib tmglib
- #lib: blaslib lapacklib tmglib
+ double: $(DLASRC) $(ALLAUX) $(DZLAUX)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(DLASRC) $(ALLAUX) \
+- $(DZLAUX)
+- $(RANLIB) ../$(LAPACKLIB)
++ ${LIBTOOL} --mode=link --tag=CC ${FC} -o ../liblapack.la \
++ $(DLASRC:.o=.lo) $(ALLAUX:.o=.lo) $(DZLAUX:.o=.lo) \
++ -rpath ${PREFIX}/lib -version-info 3:0
+
+ complex16: $(ZLASRC) $(ALLAUX) $(DZLAUX)
+- $(ARCH) $(ARCHFLAGS) ../$(LAPACKLIB) $(ZLASRC) $(ALLAUX) \
+- $(DZLAUX)
+- $(RANLIB) ../$(LAPACKLIB)
++ ${LIBTOOL} --mode=link --tag=CC ${FC} -o ../liblapack.la \
++ $(ZLASRC:.o=.lo) $(ALLAUX:.o=.lo) $(DZLAUX:.o=.lo) \
++ -rpath ${PREFIX}/lib -version-info 3:0
+
+ $(ALLAUX): $(FRC)
+ $(SCLAUX): $(FRC)
+@@ -313,10 +313,6 @@ FRC:
+ clean:
+ rm -f *.o
+
+-slamch.o: slamch.f
+- $(FORTRAN) $(NOOPT) -c $<
+-dlamch.o: dlamch.f
+- $(FORTRAN) $(NOOPT) -c $<
+
+ .f.o:
+- $(FORTRAN) $(OPTS) -c $<
++ ${LIBTOOL} --mode=compile --tag=CC ${FC} ${FFLAGS} -c $<