aboutsummaryrefslogtreecommitdiff
path: root/science/apbs
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 18:37:59 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2020-08-27 18:37:59 +0000
commit00e8afd2fda59a1f5ad325b33219d6c24a66742c (patch)
tree98eb51ab7538317a547837878edcff3a8d47bc09 /science/apbs
parent5546e338cb5578ba8f51ec34610e55aeacf036c6 (diff)
downloadports-00e8afd2fda59a1f5ad325b33219d6c24a66742c.tar.gz
ports-00e8afd2fda59a1f5ad325b33219d6c24a66742c.zip
science/apbs: fix build on current
- upstream seems to have some fixes for gcc10, which could likely be backported (but failed to apply)
Notes
Notes: svn path=/head/; revision=546396
Diffstat (limited to 'science/apbs')
-rw-r--r--science/apbs/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/science/apbs/Makefile b/science/apbs/Makefile
index b79ce28507e3..09f9974d8e81 100644
--- a/science/apbs/Makefile
+++ b/science/apbs/Makefile
@@ -25,6 +25,9 @@ USE_LDCONFIG= yes
CMAKE_ON= BUILD_SHARED_LIBS
+# Fix build on recent current with clang11
+CFLAGS+= -fcommon
+
WRKSRC_SUBDIR= ${PORTNAME}
post-stage: # https://github.com/Electrostatics/apbs-pdb2pqr/issues/522