Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2011 04:04:33 -0400
From:      "b. f." <bf1783@googlemail.com>
To:        Vladimir Kushnir <vkushnir@bigmir.net>, freebsd-ports@FreeBSD.org
Subject:   Re: math/atlas not detected in many ports
Message-ID:  <CAGFTUwPJ8u=3fmbe4w_B5LOrgGG8xkAF4t%2BxQ8b_oAj3RUV1RQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> The situation with $subj: many ports' Makefiles are trying to detect if
> math/atlas is to be used by looking for ${LOCALBASE}/lib/libatlas_r.so.
> Since last update math/atlas does not build the lib*_r.so* and so none of
> those ports could see and use atlas. The Makefiles affected:
> /usr/ports/math/arpack++/Makefile
> /usr/ports/math/blocksolve95/Makefile
> /usr/ports/math/freemat/Makefile
> /usr/ports/math/lapack++/Makefile
> /usr/ports/math/lapack95/Makefile
> /usr/ports/math/libtsnnls/Makefile
> /usr/ports/math/mumps/Makefile
> /usr/ports/math/octave-devel/Makefile
> /usr/ports/math/octave/Makefile
> /usr/ports/math/petsc/Makefile
> /usr/ports/math/scalapack/Makefile
> /usr/ports/math/sdpa/Makefile
> /usr/ports/math/sdpara/Makefile
> /usr/ports/math/suitesparse/Makefile
> /usr/ports/math/superlu/Makefile
> /usr/ports/math/superlu_mt/Makefile
> /usr/ports/math/taucs/Makefile
>
> This is a simplest `grep -l` in math/*/Makefile so there could be more
> Makefiles in another categories or files/patch-*.
> Fix is obious: replace all those lib*_r.so by lib*.so (and say -latlas_r
> by -latlas and so on).

Yes, I know.  But I have not yet finished updating math/atlas-devel,
which still has the old libraries.  Also, I think that not only the
detection bits, but also some of the link lines, can or should be
changed.  For the moment, you could simply use symlinks or
libmap.conf(5) to associate the new math/atlas library names with the
old ones, where needed, or use math/atlas-devel. I will work with the
maintainers of the affected ports to change all of them over a bit
later.  Two maintainers have already decided to switch to the new
names.  (This only affects non-default options.)

b.

P.S.  Please cc me next time if you have a question about atlas, so I
will see it sooner.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGFTUwPJ8u=3fmbe4w_B5LOrgGG8xkAF4t%2BxQ8b_oAj3RUV1RQ>