git: 0ef420aabbcd - main - devel/libarea: fix build after 659620f1586e

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Wed, 27 Sep 2023 19:54:10 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0ef420aabbcdd4bb1d8a503d0893cb95f39fed37

commit 0ef420aabbcdd4bb1d8a503d0893cb95f39fed37
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-09-27 19:52:27 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-09-27 19:52:27 +0000

    devel/libarea: fix build after 659620f1586e
    
     In file included from /wrkdirs/usr/ports/devel/libarea/work/libarea-2752cd9/PythonStuff.cpp:24:
     /usr/local/include/boost/progress.hpp:23:3: error: This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
     # error This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
    
    etc.
---
 devel/libarea/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/libarea/Makefile b/devel/libarea/Makefile
index c60fc6c901d6..47ea28798343 100644
--- a/devel/libarea/Makefile
+++ b/devel/libarea/Makefile
@@ -19,6 +19,8 @@ GH_TAGNAME=	2752cd9
 
 USE_LDCONFIG=	yes
 
+CXXFLAGS+=	"-DBOOST_TIMER_ENABLE_DEPRECATED=yes"
+
 post-patch:
 	@${REINPLACE_CMD} 's,COMMAND python ,COMMAND ${PYTHON_CMD} , ; \
 		s,COMMAND python-config ,COMMAND ${PYTHON_CMD}-config ,' \