summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2008-08-12 21:29:11 +0000
committermarkd <markd@pkgsrc.org>2008-08-12 21:29:11 +0000
commit8748e4e0ee8dc741377d9ac9db0cb933644ea68d (patch)
tree0f26cef4b63df5d2cea02f2f33abebd8fc1b9627 /math
parentf2805abc8e002ee1a4fb8ea9647c4bdf54759c6c (diff)
downloadpkgsrc-8748e4e0ee8dc741377d9ac9db0cb933644ea68d.tar.gz
Tell libtool that its linking fortran so the correct libraries get
linked in.
Diffstat (limited to 'math')
-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}