Skip to content

Commit

Permalink
devel/libarea: fix build after 659620f
Browse files Browse the repository at this point in the history
 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.
  • Loading branch information
moench-tegeder committed Sep 27, 2023
1 parent fe6885f commit 0ef420a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devel/libarea/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ,' \
Expand Down

0 comments on commit 0ef420a

Please sign in to comment.