pkgsrc-Users archive

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

Re: math/blas and math/lapack broken: cannot find -lf95



Hi,

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Sun, 12 May 2013 
14:53:17 +0900 (JST)

> Hi,
> 
> From: Thomas Klausner <tk%giga.or.at@localhost>, Date: Sun, 12 May 2013 
> 03:03:17 +0200
> 
>> Hi!
>> 
>> The two packages lapack and blas have stopped compiling in the last
>> days. They both complain about
>> /usr/bin/ld: cannot find -lf95
>> 
>> Do the build for anyone else?
> 
> I do not know much about libtool-fortran.
> In  F77 section of /usr/pkg/bin/libtool-fortran,
> CC is set as g95.
> If you change g95 to g77, blas is built successfully.

Old libtool-base has

USE_LANGUAGES=   c c++ fortran77

in its Makefile.
And libtool-fortran has

USE_LANGUAGES=  c c++ fortran

in its Makefile.
And blas is built successfully.

Should the following patch be committed?

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool-fortran/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile    9 May 2013 13:53:48 -0000       1.1
+++ Makefile    12 May 2013 06:08:50 -0000
@@ -59,7 +59,7 @@
 # We are going to want libtool to find the same versions of the C, C++,
 # and Fortran compilers.
 #
-USE_LANGUAGES=         c c++ fortran
+USE_LANGUAGES=         c c++ fortran77
 CONFIGURE_ARGS+=       --disable-ltdl-install
 
 USE_TOOLS+=            echo

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index