aboutsummaryrefslogtreecommitdiff
path: root/math/or-tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/or-tools/Makefile')
-rw-r--r--math/or-tools/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/or-tools/Makefile b/math/or-tools/Makefile
index d117f44241fa..7a5104c01b7d 100644
--- a/math/or-tools/Makefile
+++ b/math/or-tools/Makefile
@@ -33,6 +33,13 @@ SCIP_DESC= Use the SCIP solver # SCIP package isn't built because of licensing
SCIP_CMAKE_BOOL= USE_SCIP
SCIP_LIB_DEPENDS= libscip.so:math/SCIP
+post-patch:
+ @${REINPLACE_CMD} -e '/absl::container/s,^,#,' \
+ ${WRKSRC}/ortools/constraint_solver/CMakeLists.txt \
+ ${WRKSRC}/ortools/glop/CMakeLists.txt \
+ ${WRKSRC}/ortools/linear_solver/CMakeLists.txt \
+ ${WRKSRC}/ortools/sat/CMakeLists.txt
+
post-install:
@${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete