Lines 24-30
Link Here
|
24 |
|
24 |
|
25 |
.include <bsd.port.pre.mk> |
25 |
.include <bsd.port.pre.mk> |
26 |
|
26 |
|
27 |
.if exists(${LOCALBASE}/lib/libgoto2.so) |
27 |
.if exists(${LOCALBASE}/lib/libgoto2p.so) |
28 |
WITH_BLAS?= gotoblas |
28 |
WITH_BLAS?= gotoblas |
29 |
.elif exists(${LOCALBASE}/lib/libatlas_r.so) |
29 |
.elif exists(${LOCALBASE}/lib/libatlas_r.so) |
30 |
WITH_BLAS?= atlas |
30 |
WITH_BLAS?= atlas |
Lines 44-51
Link Here
|
44 |
LAPACK= -lpthread -lgoto2p |
44 |
LAPACK= -lpthread -lgoto2p |
45 |
.elif ${WITH_BLAS} == "atlas" |
45 |
.elif ${WITH_BLAS} == "atlas" |
46 |
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas |
46 |
LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas |
47 |
BLAS= -pthread -lptf77blas -lptcblas -latlas_r |
47 |
BLAS= -lpthread -lptf77blas -lptcblas -latlas_r |
48 |
LAPACK= -pthread -lalapack_r |
48 |
LAPACK= -lpthread -lalapack_r |
49 |
.endif |
49 |
.endif |
50 |
|
50 |
|
51 |
LDFLAGS+= -L${LOCALBASE}/lib |
51 |
LDFLAGS+= -L${LOCALBASE}/lib |