Index: head/science/pcmsolver/Makefile =================================================================== --- head/science/pcmsolver/Makefile (revision 515814) +++ head/science/pcmsolver/Makefile (revision 515815) @@ -1,36 +1,36 @@ # $FreeBSD$ PORTNAME= pcmsolver DISTVERSIONPREFIX= v DISTVERSION= 1.2.3 PORTREVISION= 2 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= API for the Polarizable Continuum Model LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN_powerpc64= fails to compile: SphericalDiffuse.cpp:182: invalid initialization of non-const reference - -USES= cmake:noninja fortran python +USES= cmake:noninja compiler:c11 fortran python USE_GITHUB= yes GH_ACCOUNT= PCMSolver USE_LDCONFIG= yes do-configure: # full CMAKE_ARGS breaks configure: -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" causes configure to fail to find fortran's libraries @${MKDIR} ${CONFIGURE_WRKSRC} @cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} \ -DCMAKE_BUILD_TYPE:STRING="Release" \ -DCMAKE_C_FLAGS_RELEASE:STRING="${CFLAGS}" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="${CXXFLAGS}" \ -DCMAKE_EXE_LINKER_FLAGS:STRING="${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so" \ + -DCMAKE_C_COMPILER:STRING="${CC}" \ + -DCMAKE_CXX_COMPILER:STRING="${CXX}" \ ${CMAKE_SOURCE_PATH} post-patch: @${REINPLACE_CMD} -e 's|"-O3 |"$${CMAKE_C_FLAGS} |' \ ${WRKSRC}/cmake/custom/compilers/*.cmake .include Index: head/science/pcmsolver/files/patch-src_bin_run__pcm.cpp =================================================================== --- head/science/pcmsolver/files/patch-src_bin_run__pcm.cpp (nonexistent) +++ head/science/pcmsolver/files/patch-src_bin_run__pcm.cpp (revision 515815) @@ -0,0 +1,10 @@ +--- src/bin/run_pcm.cpp.orig 2019-10-24 12:38:26 UTC ++++ src/bin/run_pcm.cpp +@@ -31,6 +31,7 @@ + #include + #include + ++#include + #include "Config.hpp" + + #include Property changes on: head/science/pcmsolver/files/patch-src_bin_run__pcm.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/science/pcmsolver/files/patch-src_cavity_GePolCavity.cpp =================================================================== --- head/science/pcmsolver/files/patch-src_cavity_GePolCavity.cpp (nonexistent) +++ head/science/pcmsolver/files/patch-src_cavity_GePolCavity.cpp (revision 515815) @@ -0,0 +1,18 @@ +--- src/cavity/GePolCavity.cpp.orig 2019-10-24 12:25:02 UTC ++++ src/cavity/GePolCavity.cpp +@@ -21,6 +21,7 @@ + * PCMSolver API, see: + */ + ++#include + #include "GePolCavity.hpp" + + #include +@@ -32,7 +33,6 @@ + #include + #include + +-#include + #include + + #include "Config.hpp" Property changes on: head/science/pcmsolver/files/patch-src_cavity_GePolCavity.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/science/pcmsolver/files/patch-src_green_SphericalDiffuse.cpp =================================================================== --- head/science/pcmsolver/files/patch-src_green_SphericalDiffuse.cpp (nonexistent) +++ head/science/pcmsolver/files/patch-src_green_SphericalDiffuse.cpp (revision 515815) @@ -0,0 +1,10 @@ +--- src/green/SphericalDiffuse.cpp.orig 2019-10-24 12:30:56 UTC ++++ src/green/SphericalDiffuse.cpp +@@ -21,6 +21,7 @@ + * PCMSolver API, see: + */ + ++#include + #include "SphericalDiffuse.hpp" + + #include Property changes on: head/science/pcmsolver/files/patch-src_green_SphericalDiffuse.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/science/pcmsolver/files/patch-src_interface_Input.cpp =================================================================== --- head/science/pcmsolver/files/patch-src_interface_Input.cpp (nonexistent) +++ head/science/pcmsolver/files/patch-src_interface_Input.cpp (revision 515815) @@ -0,0 +1,10 @@ +--- src/interface/Input.cpp.orig 2019-10-24 12:34:49 UTC ++++ src/interface/Input.cpp +@@ -21,6 +21,7 @@ + * PCMSolver API, see: + */ + ++#include + #include "Input.hpp" + + #include Property changes on: head/science/pcmsolver/files/patch-src_interface_Input.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/science/pcmsolver/files/patch-src_interface_Meddle.cpp =================================================================== --- head/science/pcmsolver/files/patch-src_interface_Meddle.cpp (nonexistent) +++ head/science/pcmsolver/files/patch-src_interface_Meddle.cpp (revision 515815) @@ -0,0 +1,10 @@ +--- src/interface/Meddle.cpp.orig 2019-10-24 12:36:20 UTC ++++ src/interface/Meddle.cpp +@@ -21,6 +21,7 @@ + * PCMSolver API, see: + */ + ++#include + #include "Meddle.hpp" + #include "PCMInput.h" + #include "pcmsolver.h" Property changes on: head/science/pcmsolver/files/patch-src_interface_Meddle.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property