aboutsummaryrefslogtreecommitdiff
path: root/science/gromacs/Makefile
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-03-31 16:15:16 +0000
committerRene Ladan <rene@FreeBSD.org>2020-03-31 16:15:16 +0000
commit3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3 (patch)
tree3dde9d52f34dfb1247213c04b75eda5c746d1114 /science/gromacs/Makefile
parent22ddb939272b64b06b07a246858f63dbfaf2906a (diff)
downloadports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.tar.gz
ports-3c6fba3a38899c63d3dbc2bcbc45740cf327c6b3.zip
Notes
Diffstat (limited to 'science/gromacs/Makefile')
-rw-r--r--science/gromacs/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/science/gromacs/Makefile b/science/gromacs/Makefile
index 21e8f29fb53d..8165348e869c 100644
--- a/science/gromacs/Makefile
+++ b/science/gromacs/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gromacs
DISTVERSION= 2020.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science
MASTER_SITES= ftp://ftp.gromacs.org/pub/gromacs/
@@ -18,7 +18,7 @@ BROKEN_i386= undefined reference to `__atomic_load' and `__atomic_compare_exchan
BUILD_DEPENDS= boost-libs>=1.44:devel/boost-libs
LIB_DEPENDS= libhwloc.so:devel/hwloc
-USES= cmake fortran gnome perl5 pkgconfig shebangfix xorg # should be compiler:c++14-lang
+USES= cmake compiler:c++14-lang fortran gnome perl5 pkgconfig shebangfix xorg
SHEBANG_FILES= admin/*.sh scripts/*.pl scripts/*.sh src/gromacs/selection/*.sh
bash_CMD= ${SH}
USE_GNOME= libxml2
@@ -81,12 +81,6 @@ 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} \
${REINPLACE_CMD} -e \