Created attachment 200203 [details] patch -Wno-c++11-narrowing is not available in GCC. Set USE_CXXSTD=c++98 to build with both GCC and Clang. Additionaly, set USES=localbase and reorganize LDFLAGS. Tested on powerpc64 and amd64. Hardware sponsored by IntegriCloud.
Committed with a small addition, thanks!
A commit references this bug: Author: yuri Date: Mon Dec 17 17:51:22 UTC 2018 New revision: 487699 URL: https://svnweb.freebsd.org/changeset/ports/487699 Log: science/libghemical: fix build with GCC-based architectures Some reformatting. Also add USES=gl. PR: 234101 Submitted by: Piotr Kubaj <pkubaj@anongoth.pl> Changes: head/science/libghemical/Makefile