pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/blas Tell libtool that its linking fortran so the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4bf1fd25933
branches:  trunk
changeset: 545792:f4bf1fd25933
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Aug 12 21:29:11 2008 +0000

description:
Tell libtool that its linking fortran so the correct libraries get
linked in.

diffstat:

 math/blas/Makefile            |  3 ++-
 math/blas/files/Makefile.blas |  2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c2c205867e63 -r f4bf1fd25933 math/blas/Makefile
--- a/math/blas/Makefile        Tue Aug 12 21:07:18 2008 +0000
+++ b/math/blas/Makefile        Tue Aug 12 21:29:11 2008 +0000
@@ -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 -r c2c205867e63 -r f4bf1fd25933 math/blas/files/Makefile.blas
--- a/math/blas/files/Makefile.blas     Tue Aug 12 21:07:18 2008 +0000
+++ b/math/blas/files/Makefile.blas     Tue Aug 12 21:29:11 2008 +0000
@@ -28,7 +28,7 @@
        ${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}
 



Home | Main Index | Thread Index | Old Index