From owner-svn-ports-all@freebsd.org Sun Jan 21 18:21:56 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6BDF8ED51D2; Sun, 21 Jan 2018 18:21:56 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4828E75DA1; Sun, 21 Jan 2018 18:21:56 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8ED7D74C8; Sun, 21 Jan 2018 18:21:55 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0LILt6b073523; Sun, 21 Jan 2018 18:21:55 GMT (envelope-from gerald@FreeBSD.org) Received: (from gerald@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0LILtdF073522; Sun, 21 Jan 2018 18:21:55 GMT (envelope-from gerald@FreeBSD.org) Message-Id: <201801211821.w0LILtdF073522@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: gerald set sender to gerald@FreeBSD.org using -f From: Gerald Pfeifer Date: Sun, 21 Jan 2018 18:21:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459622 - head/science/mpb X-SVN-Group: ports-head X-SVN-Commit-Author: gerald X-SVN-Commit-Paths: head/science/mpb X-SVN-Commit-Revision: 459622 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2018 18:21:56 -0000 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 ) 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 +.if ${OPSYS} == FreeBSD && ${OSVERSION} > 1200051 +USE_GCC= yes +.endif + .if ${PORT_OPTIONS:MATLAS} LIB_DEPENDS+= libatlas.so:math/atlas CONFIGURE_ARGS+= --with-lapack=-lalapack