--- Makefile.orig 2011-02-10 19:50:37.000000000 +0900 +++ Makefile 2011-02-10 19:51:18.000000000 +0900 @@ -24,7 +24,7 @@ .include -.if exists(${LOCALBASE}/lib/libgoto2.so) +.if exists(${LOCALBASE}/lib/libgoto2p.so) WITH_BLAS?= gotoblas .elif exists(${LOCALBASE}/lib/libatlas_r.so) WITH_BLAS?= atlas @@ -44,8 +44,8 @@ LAPACK= -lpthread -lgoto2p .elif ${WITH_BLAS} == "atlas" LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas -BLAS= -pthread -lptf77blas -lptcblas -latlas_r -LAPACK= -pthread -lalapack_r +BLAS= -lpthread -lptf77blas -lptcblas -latlas_r +LAPACK= -lpthread -lalapack_r .endif LDFLAGS+= -L${LOCALBASE}/lib