Tell libtool that its linking fortran so the correct libraries get linked

in.
This commit is contained in:
markd 2008-08-12 21:32:04 +00:00
parent 8748e4e0ee
commit 02eaa3a918
3 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.25 2008/05/26 22:25:25 tnn Exp $
# $NetBSD: Makefile,v 1.26 2008/08/12 21:32:04 markd Exp $
DISTNAME= lapack-lite-3.1.1
PKGNAME= lapack-3.1.1
PKGREVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/lapack/ \
ftp://netlib.no/netlib/lapack/ \

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.10 2007/12/10 17:50:31 adam Exp $
$NetBSD: distinfo,v 1.11 2008/08/12 21:32:04 markd Exp $
SHA1 (lapack-lite-3.1.1.tgz) = 1ec4ef90b544cf82bc7b4f770cee6fb46da457c5
RMD160 (lapack-lite-3.1.1.tgz) = d81baafd1f0f9859d9f75ac9b658f743544b5f5b
Size (lapack-lite-3.1.1.tgz) = 5332509 bytes
SHA1 (patch-aa) = 55aa7680024f2071d83f714bdaf3525dcd2e41ad
SHA1 (patch-aa) = 75671f2cc3233241f03ecab5a5d79cb505eece15
SHA1 (patch-ab) = fd5989eaafc622f29284759f538ccc0f11dfe624
SHA1 (patch-ac) = 649f7e40142936af49c8c9dbec376bdd1a11b05a
SHA1 (patch-ad) = e727bd3e83351f03c3a6cf2b8d5f33d5cbbc37da

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.5 2007/12/10 17:50:31 adam Exp $
$NetBSD: patch-aa,v 1.6 2008/08/12 21:32:04 markd Exp $
--- SRC/Makefile.orig 2007-02-26 19:20:07.000000000 +0100
+++ SRC/Makefile
@ -8,7 +8,7 @@ $NetBSD: patch-aa,v 1.5 2007/12/10 17:50:31 adam Exp $
../$(LAPACKLIB): $(ALLOBJ)
- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ)
- $(RANLIB) $@
+ ${LIBTOOL} --mode=link --tag=CC ${FC} -o ../$(LAPACKLIB) \
+ ${LIBTOOL} --mode=link --tag=F77 ${FC} -o ../$(LAPACKLIB) \
+ $(ALLOBJ:.o=.lo) -rpath ${PREFIX}/lib -version-info 3:0
single: $(SLASRC) $(ALLAUX) $(SCLAUX)