From owner-svn-ports-all@freebsd.org Wed Feb 5 15:52:42 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85BC524D8C0; Wed, 5 Feb 2020 15:52:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48CR0V2xBsz3By2; Wed, 5 Feb 2020 15:52:42 +0000 (UTC) (envelope-from yuri@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 600F05160; Wed, 5 Feb 2020 15:52:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 015Fqgva020172; Wed, 5 Feb 2020 15:52:42 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 015FqgEl020171; Wed, 5 Feb 2020 15:52:42 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202002051552.015FqgEl020171@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 5 Feb 2020 15:52:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r525280 - head/science/gromacs X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/gromacs X-SVN-Commit-Revision: 525280 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.29 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: Wed, 05 Feb 2020 15:52:42 -0000 Author: yuri Date: Wed Feb 5 15:52:41 2020 New Revision: 525280 URL: https://svnweb.freebsd.org/changeset/ports/525280 Log: science/gromacs: Fix build on systems with older clang (clang-6) Reported by: fallout Modified: head/science/gromacs/Makefile Modified: head/science/gromacs/Makefile ============================================================================== --- head/science/gromacs/Makefile Wed Feb 5 15:51:36 2020 (r525279) +++ head/science/gromacs/Makefile Wed Feb 5 15:52:41 2020 (r525280) @@ -18,7 +18,7 @@ BROKEN_i386= undefined reference to `__atomic_load' an BUILD_DEPENDS= boost-libs>=1.44:devel/boost-libs LIB_DEPENDS= libhwloc.so:devel/hwloc -USES= cmake compiler:c++14-lang fortran gnome perl5 pkgconfig shebangfix xorg +USES= cmake fortran gnome perl5 pkgconfig shebangfix xorg # should be compiler:c++14-lang SHEBANG_FILES= admin/*.sh scripts/*.pl scripts/*.sh src/gromacs/selection/*.sh bash_CMD= ${SH} USE_GNOME= libxml2 @@ -82,6 +82,12 @@ OPENMPI_PLIST_SUB= SUFFIX_MPI="_mpi" THREAD_MPI_DESC= Build a thread-MPI-based multithreaded version of GROMACS THREAD_MPI_CMAKE_BOOL= GMX_THREAD_MPI THREAD_MPI_PLIST_SUB= SUFFIX_MPI="" + +# build fails on 12.0 with clang-6, so force a newer compiler +BUILD_DEPENDS+= clang${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT} +CPP= clang-cpp${LLVM_DEFAULT} +CC= clang${LLVM_DEFAULT} +CXX= clang++${LLVM_DEFAULT} post-patch: @${FIND} ${WRKSRC} -name "CMakeLists.txt" | ${XARGS} \