git: 744d2334a250 - main - science/votca: Partially fix build

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 14 Oct 2023 17:38:33 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=744d2334a25046ed65a47331b711194fcce877f3

commit 744d2334a25046ed65a47331b711194fcce877f3
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-10-14 17:36:50 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2023-10-14 17:38:19 +0000

    science/votca: Partially fix build
    
    Define BOOST_TIMER_ENABLE_DEPRECATED in CXXFLAGS to avoid build failure
    with newer versions of Boost library
    
    Poudriere reports filesystem violations in usr/local/share/libint
    
    PR:             274437
    Reviewed by:    yuri (maintainer)
---
 science/votca/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/science/votca/Makefile b/science/votca/Makefile
index 6c03085bc429..4ad7b95b87f3 100644
--- a/science/votca/Makefile
+++ b/science/votca/Makefile
@@ -44,6 +44,8 @@ SHEBANG_FILES=	csg/scripts/csg_call.in csg/scripts/csg_inverse.in \
 		xtp/scripts/xtp_modify_jobfile.in \
 		xtp/scripts/xtp_qmmm2qm.in
 
+CXXFLAGS+=	-DBOOST_TIMER_ENABLE_DEPRECATED
+
 CMAKE_ON=	BUILD_XTP
 CMAKE_ARGS=	-DLOCALBASE=${LOCALBASE} -DPython_EXECUTABLE=${PYTHON_CMD}