Hi,

* Sébastien Fabbro [2007-08-16 18:34]:
> I would be grateful if many people test them before I commit them to
> portage and ask for stabilization. Report by replying to this thread, or
> emailing directly to me.

Another problem found in {blas,cblas,lapack}-reference ebuilds. The *.pc
files provided includes wrong Libs.private settings:

% cat /usr/lib/blas/reference/blas.pc
[...]
Libs: -lblas
Libs.private: -lm @FLIBS@
                  ^^^^^^^
                  This should be expanded by configure.


% cat /usr/lib/blas/reference/cblas.pc
[...]
Requires: blas
URL: http://www.netlib.org/blas/
Libs: -lcblas
Libs.private: -lm  -L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../.. -lgfortranbegin
-lgfortran -lm

% cat /usr/lib/lapack/reference/lapack.pc
[...]
Requires: blas
URL: http://www.netlib.org/lapack/
Libs: -llapack
Libs.private: -lm

In the above two "Libs.private:" should be empty, since these package
require blas, which provides proper libs for static linking (both -lm
and FLIBS).


BR,
/Adam

-- 
.:.  Adam Piatyszek - "ediap"       .:.  JID: ediap(at)jabber.org .:.
.:.  ediap(at)users.sourceforge.net .:.  PGP key ID: 0x1F115CCB   .:.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to