math/suitesparse: Fix undesirable linking with pre-installed older version
PR: 227791 Reported by: John Hein <z7dr6ut7gs@snkmail.com>
This commit is contained in:
parent
fc987527b6
commit
697f5a4cbe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471443
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue