aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Moench-Tegeder <cmt@FreeBSD.org>2023-09-27 19:52:27 +0000
committerChristoph Moench-Tegeder <cmt@FreeBSD.org>2023-09-27 19:52:27 +0000
commit0ef420aabbcdd4bb1d8a503d0893cb95f39fed37 (patch)
tree45a0dcf836ee9b21a529a716c9ed79a29d47e1a0
parentfe6885f4ca64b1d424186087cb64a7bf0f542fda (diff)
downloadports-0ef420aabbcdd4bb1d8a503d0893cb95f39fed37.tar.gz
ports-0ef420aabbcdd4bb1d8a503d0893cb95f39fed37.zip
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.
-rw-r--r--devel/libarea/Makefile2
1 files changed, 2 insertions, 0 deletions
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 ,' \