summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd>2008-08-12 21:29:11 +0000
committermarkd <markd>2008-08-12 21:29:11 +0000
commite106689ba60110124592a8b8b70df556e3724489 (patch)
tree0f26cef4b63df5d2cea02f2f33abebd8fc1b9627
parent0d7193a15fd353f66f4388034217af0057a677ec (diff)
downloadpkgsrc-e106689ba60110124592a8b8b70df556e3724489.tar.gz
Tell libtool that its linking fortran so the correct libraries get
linked in.
-rw-r--r--math/blas/Makefile3
-rw-r--r--math/blas/files/Makefile.blas2
2 files changed, 3 insertions, 2 deletions
diff --git a/math/blas/Makefile b/math/blas/Makefile
index 9de386e52b3..0c4413dae2a 100644
--- a/math/blas/Makefile
+++ b/math/blas/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2008/03/07 07:14:24 jlam Exp $
+# $NetBSD: Makefile,v 1.25 2008/08/12 21:29:11 markd Exp $
#
DISTNAME= blas
PKGNAME= blas-1.1
+PKG_REVISION= 1
CATEGORIES= math
MASTER_SITES= ftp://ftp.netlib.org/blas/
EXTRACT_SUFX= .tgz
diff --git a/math/blas/files/Makefile.blas b/math/blas/files/Makefile.blas
index c4ae5188b59..d96f73b4a6c 100644
--- a/math/blas/files/Makefile.blas
+++ b/math/blas/files/Makefile.blas
@@ -28,7 +28,7 @@ all: libblas.la
${LIBTOOL} --mode=compile --tag=CC ${COMPILE.f} ${.IMPSRC}
libblas.la: $(OBJS)
- ${LIBTOOL} --mode=link ${CC} -o ${.TARGET} ${OBJS:.o=.lo} \
+ ${LIBTOOL} --mode=link --tag=F77 ${FC} -o ${.TARGET} ${OBJS:.o=.lo} \
-rpath $(libdir) \
-version-info ${SHLIB_MAJOR}:${SHLIB_MINOR}