Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2018 02:50:39 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471443 - head/math/suitesparse
Message-ID:  <201806030250.w532odwL066070@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806030250.w532odwL066070>