aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-06-03 02:50:39 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-06-03 02:50:39 +0000
commit697f5a4cbeb418d65bbd8aff68efbfad114217da (patch)
tree1493838ac9b71bab843883d5b1f600445312aeb6 /math
parentfc987527b6c73f5f4ebe3daa3ee0da6f8a501384 (diff)
downloadports-697f5a4cbeb418d65bbd8aff68efbfad114217da.tar.gz
ports-697f5a4cbeb418d65bbd8aff68efbfad114217da.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/suitesparse/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile
index 863a944b2aa6..8b77d3724032 100644
--- a/math/suitesparse/Makefile
+++ b/math/suitesparse/Makefile
@@ -43,6 +43,7 @@ METIS_PATH= ${LOCALBASE}/include/metis
CHOLMOD_CONFIG=
CFLAGS+= -I${LOCALBASE}/include
CXXFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${WRKSRC}/lib # prevent linking with shared libs from the preinstalled older versions
MAKE_ARGS+= MY_METIS_LIB="-L${LOCALBASE}/lib -lmetis $(LDFLAGS)"
post-patch: