aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-07-26 16:11:33 +0800
committeryuri <yuri@FreeBSD.org>2018-07-26 16:11:33 +0800
commite5338672ce069a5118d3926e30360350d07e6f4a (patch)
treee839c61be6b0b330ca6cc8cd2f126e90679fc5a6 /science
parentbc0192463547ced9f56802e3ecb7b3f5ec768662 (diff)
downloadfreebsd-ports-gnome-e5338672ce069a5118d3926e30360350d07e6f4a.tar.gz
freebsd-ports-gnome-e5338672ce069a5118d3926e30360350d07e6f4a.tar.zst
freebsd-ports-gnome-e5338672ce069a5118d3926e30360350d07e6f4a.zip
science/libghemical: Fix C++11 errors on 12
Add CXXFLAGS+=-Wno-c++11-narrowing
Diffstat (limited to 'science')
-rw-r--r--science/libghemical/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/science/libghemical/Makefile b/science/libghemical/Makefile
index 3664b05e7eb3..332487ee3b3d 100644
--- a/science/libghemical/Makefile
+++ b/science/libghemical/Makefile
@@ -39,6 +39,7 @@ LDFLAGS+= -L${LOCALBASE}/lib -lSCbasis -lSCcints -lSCclass \
-lSCrender -lSCscf -lSCscmat -lSCsolvent -lSCstate \
-lSCsymmetry -lSCwfn \
-lgfortran -lpthread -lblas -llapack
+CXXFLAGS+= -Wno-c++11-narrowing # fix errors like error: non-constant-expression cannot be narrowed from type 'double' to 'fGL'
PLIST_SUB= LIBGHEMICAL_VERSION="${PORTVERSION}"
INSTALL_TARGET= install-strip