1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00
Christoph Moench-Tegeder 0ef420aabb 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.
2023-09-27 21:52:27 +02:00

30 lines
598 B
Makefile

PORTNAME= libarea
PORTVERSION= 20191031
PORTREVISION= 1
CATEGORIES= devel cad
MAINTAINER= ports@FreeBSD.org
COMMENT= CAM-related software for profile and pocketing operations
WWW= https://github.com/heeks/libarea
LICENSE= BSD3CLAUSE
LIB_DEPENDS= ${PY_BOOST}
USES= cmake python
USE_GITHUB= yes
GH_ACCOUNT= Heeks
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 ,' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>