Date: Wed, 19 Dec 2018 06:09:27 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487784 - in head/science/pcmsolver: . files Message-ID: <201812190609.wBJ69RWN041531@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Wed Dec 19 06:09:26 2018 New Revision: 487784 URL: https://svnweb.freebsd.org/changeset/ports/487784 Log: science/pcmsolver: Unbreak It was breaking with both gfortran and clang. As it turned out, full CMAKE_ARGS break gfortan but a simpler version of CMAKE_ARGS doesn't. Added: head/science/pcmsolver/files/ head/science/pcmsolver/files/patch-CMakeLists.txt (contents, props changed) Modified: head/science/pcmsolver/Makefile Modified: head/science/pcmsolver/Makefile ============================================================================== --- head/science/pcmsolver/Makefile Wed Dec 19 02:19:38 2018 (r487783) +++ head/science/pcmsolver/Makefile Wed Dec 19 06:09:26 2018 (r487784) @@ -3,7 +3,7 @@ PORTNAME= pcmsolver DISTVERSIONPREFIX= v DISTVERSION= 1.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -12,15 +12,16 @@ COMMENT= API for the Polarizable Continuum Model LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE -BROKEN= fails to build BROKEN_powerpc64= fails to compile: SphericalDiffuse.cpp:182: invalid initialization of non-const reference -LIB_DEPENDS= libflang.so:devel/flang # USES=fortran:clang breaks in configure: can't find libs directory - -USES= cmake:outsource,noninja python +USES= cmake:outsource,noninja fortran python USE_GITHUB= yes GH_ACCOUNT= PCMSolver USE_LDCONFIG= yes + +do-configure: # full CMAKE_ARGS breaks configure: it can't find fortran's libraries + @${MKDIR} ${CONFIGURE_WRKSRC} + @cd ${CONFIGURE_WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} -DCMAKE_BUILD_TYPE:STRING="Release" ${CMAKE_SOURCE_PATH} post-patch: @${REINPLACE_CMD} -e 's|"-O3 |"$${CMAKE_C_FLAGS} |' \ Added: head/science/pcmsolver/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/pcmsolver/files/patch-CMakeLists.txt Wed Dec 19 06:09:26 2018 (r487784) @@ -0,0 +1,10 @@ +--- CMakeLists.txt.orig 2018-12-19 05:45:58 UTC ++++ CMakeLists.txt +@@ -80,4 +80,6 @@ include(eigen) + include(libtaylor) + include(zlib) + include(autocmake_src) +-include(test) ++if (BUILD_TESTING) ++ include(test) ++endif()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812190609.wBJ69RWN041531>