svn commit: r459622 - head/science/mpb

Gerald Pfeifer gerald at FreeBSD.org
Sun Jan 21 18:21:56 UTC 2018


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 at 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


More information about the svn-ports-all mailing list