svn commit: r475349 - head/science/libghemical

Yuri Victorovich yuri at FreeBSD.org
Thu Jul 26 08:11:34 UTC 2018


Author: yuri
Date: Thu Jul 26 08:11:33 2018
New Revision: 475349
URL: https://svnweb.freebsd.org/changeset/ports/475349

Log:
  science/libghemical: Fix C++11 errors on 12
  
  Add CXXFLAGS+=-Wno-c++11-narrowing

Modified:
  head/science/libghemical/Makefile

Modified: head/science/libghemical/Makefile
==============================================================================
--- head/science/libghemical/Makefile	Thu Jul 26 07:04:13 2018	(r475348)
+++ head/science/libghemical/Makefile	Thu Jul 26 08:11:33 2018	(r475349)
@@ -39,6 +39,7 @@ LDFLAGS+=	-L${LOCALBASE}/lib -lSCbasis -lSCcints -lSCc
 		-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
 


More information about the svn-ports-all mailing list