Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2018 18:21:55 +0000 (UTC)
From:      Gerald Pfeifer <gerald@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459622 - head/science/mpb
Message-ID:  <201801211821.w0LILtdF073522@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gerald
Date: Sun Jan 21 18:21:55 2018
New Revision: 459622
URL: https://svnweb.freebsd.org/changeset/ports/459622

Log:
  Fix the build on FreeBSD 12+ by using a current version of GCC which
  is already used by some of the dependencies.
  
  This avoids build errors of the following kind:
  
    /lib/libgcc_s.so.1: version GCC_4.6.0 required by
    /usr/local/lib/gcc6/libgfortran.so.3 not found
  
  Submitted by:	maintainer (Rainer Hurling <rhurlin@gwdg.de>)
  PR:		225230

Modified:
  head/science/mpb/Makefile

Modified: head/science/mpb/Makefile
==============================================================================
--- head/science/mpb/Makefile	Sun Jan 21 17:33:16 2018	(r459621)
+++ head/science/mpb/Makefile	Sun Jan 21 18:21:55 2018	(r459622)
@@ -33,6 +33,10 @@ NLOPT_LIB_DEPENDS=	libnlopt.so:math/nlopt
 
 .include <bsd.port.options.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200051
+USE_GCC=	yes
+.endif
+
 .if ${PORT_OPTIONS:MATLAS}
 LIB_DEPENDS+=	libatlas.so:math/atlas
 CONFIGURE_ARGS+=	--with-lapack=-lalapack



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