svn commit: r471443 - head/math/suitesparse

Yuri Victorovich yuri at FreeBSD.org
Sun Jun 3 02:50:40 UTC 2018


Author: yuri
Date: Sun Jun  3 02:50:39 2018
New Revision: 471443
URL: https://svnweb.freebsd.org/changeset/ports/471443

Log:
  math/suitesparse: Fix undesirable linking with pre-installed older version
  
  PR:		227791
  Reported by:	John Hein <z7dr6ut7gs at snkmail.com>

Modified:
  head/math/suitesparse/Makefile

Modified: head/math/suitesparse/Makefile
==============================================================================
--- head/math/suitesparse/Makefile	Sun Jun  3 02:31:34 2018	(r471442)
+++ head/math/suitesparse/Makefile	Sun Jun  3 02:50:39 2018	(r471443)
@@ -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:


More information about the svn-ports-all mailing list