math/suitesparse: Fix undesirable linking with pre-installed older version

PR:		227791
Reported by:	John Hein <z7dr6ut7gs@snkmail.com>
This commit is contained in:
Yuri Victorovich 2018-06-03 02:50:39 +00:00
parent fc987527b6
commit 697f5a4cbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471443

View file

@ -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: