On 29 Dec 2011, at 22:57, Lukas Reichlin wrote:
OK, I tested all developer makefiles with
"$(mkoctfile -p LAPACK_LIBS)" \
"$(mkoctfile -p BLAS_LIBS)"
and it worked for both the +accelerate and the +atlas option of the Portfile. They are in
the all the "devel" folder [1].
Then I restored the package makefile [2] to Marco Atzeris original patch, which
should do the same as my developer makefiles.
It doesn't do the same on my system, for me the commands:
LAPACK_LIBS != mkoctfile -p LAPACK_LIBS
BLAS_LIBS != mkoctfile -p BLAS_LIBS
do not set any value for LAPACK_LIBS and BLAS_LIBS.
I did not know the syntax "!=" maybe this only works with newer versions of
gmake[1]?
try this instead:
LAPACK_LIBS = $$(mkoctfile -p LAPACK_LIBS)
BLAS_LIBS = $$(mkoctfile -p BLAS_LIBS)
FLIBS = $$(mkoctfile -p FLIBS)