aboutsummaryrefslogtreecommitdiffstats
path: root/math/sdpa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/sdpa/Makefile')
-rw-r--r--math/sdpa/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile
index 16f8f3daa8ef..c28566e93737 100644
--- a/math/sdpa/Makefile
+++ b/math/sdpa/Makefile
@@ -34,11 +34,11 @@ OLDVERSION= 6.2.0
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
-#Atlas is always required as lapack.h and blas.h is required.
-#no blaswarp.h at the moment.
-LIB_DEPENDS+= atlas.2:${PORTSDIR}/math/atlas
-
-WITH_ATLAS= yes
+#for f2c.h
+BUILD_DEPENDS= ${LOCALBASE}/lib/libf2c.a:${PORTSDIR}/lang/f2c
+#.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
+WITH_ATLAS= yes
+#.endif
.if defined(WITH_ATLAS)
BLAS= -lcblas -lf77blas -latlas
LAPACK= -lalapack