summaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-01-10 16:16:58 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-01-10 16:16:58 +0000
commitb0633395f792c8d45383c219d54df6d32366fe4b (patch)
tree9fe954ced78af9c57d705d07a3656d0214bc7806 /cad
parentAllow building with libc++ r224926 (diff)
Uses blaslapack.mk.
Notes
Notes: svn path=/head/; revision=376715
Diffstat (limited to 'cad')
-rw-r--r--cad/pdnmesh/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/cad/pdnmesh/Makefile b/cad/pdnmesh/Makefile
index 609394dc33ea..8ff4aaa190cb 100644
--- a/cad/pdnmesh/Makefile
+++ b/cad/pdnmesh/Makefile
@@ -23,16 +23,15 @@ USE_GNOME= gtk20
GNU_CONFIGURE= yes
LDFLAGS+= -lm
-DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" "true"
+DESKTOP_ENTRIES="pdnMesh" "${COMMENT}" "" "${PORTNAME}" "" true
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MATLAS}
-LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas
+USES+= blaslapack:atlas
CONFIGURE_ARGS+=--with-blas=cblas --with-lapack=alapack
.else
-LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas
-LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack
+USES+= blaslapack
CONFIGURE_ARGS+=--with-blas=blas --with-lapack=lapack
.endif