aboutsummaryrefslogtreecommitdiff
path: root/math/highs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/highs/Makefile')
-rw-r--r--math/highs/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/math/highs/Makefile b/math/highs/Makefile
index db20f88d6a77..1b3e425c8b8d 100644
--- a/math/highs/Makefile
+++ b/math/highs/Makefile
@@ -1,6 +1,7 @@
PORTNAME= highs
DISTVERSIONPREFIX= v
-DISTVERSION= 1.7.0
+DISTVERSION= 1.10.0
+PORTREVISION= 1
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
@@ -19,10 +20,14 @@ GH_PROJECT= HiGHS
CMAKE_OFF= BUILD_TESTING
-post-install: # see https://github.com/ERGO-Code/HiGHS/issues/502
+post-install:
+ # see https://github.com/ERGO-Code/HiGHS/issues/502
${RM} -r ${STAGEDIR}${PREFIX}/external
+ # workaround for https://github.com/ERGO-Code/HiGHS/issues/2250
+ @${REINPLACE_CMD} \
+ -e 's|INTERFACE_INCLUDE_DIRECTORIES "/include;|INTERFACE_INCLUDE_DIRECTORIES "|' \
+ ${STAGEDIR}${PREFIX}/lib/cmake/highs/highs-targets.cmake
-# one test fails, see https://github.com/ERGO-Code/HiGHS/issues/1132
-# tests fail to build on i386: undefined reference to fmax, see https://github.com/ERGO-Code/HiGHS/issues/505
+# tests as of 1.10.0: 100% tests passed, 0 tests failed out of 2
.include <bsd.port.mk>