aboutsummaryrefslogtreecommitdiff
path: root/cad/PrusaSlicer/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cad/PrusaSlicer/Makefile')
-rw-r--r--cad/PrusaSlicer/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile
index b9336618cecf..e1ce04fab6a4 100644
--- a/cad/PrusaSlicer/Makefile
+++ b/cad/PrusaSlicer/Makefile
@@ -1,7 +1,7 @@
PORTNAME= PrusaSlicer
DISTVERSIONPREFIX=version_
DISTVERSION= 2.9.2
-PORTREVISION= 5
+PORTREVISION= 7
CATEGORIES= cad
DIST_SUBDIR= PrusaSlicer
@@ -65,7 +65,11 @@ CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \
-Wno-dev
PORTDATA= *
+
post-patch:
${MKDIR} ${WRKSRC}/bundled_deps/hidapi/libusb
${CP} ${FILESDIR}/hid.c ${WRKSRC}/bundled_deps/hidapi/libusb/hid.c
+ @${REINPLACE_CMD} -e '/_boost_/s|system;||' \
+ ${WRKSRC}/CMakeLists.txt
+
.include <bsd.port.mk>