diff --git a/math/highs/Makefile b/math/highs/Makefile index 12f39bdab718..eeb78cfa5a19 100644 --- a/math/highs/Makefile +++ b/math/highs/Makefile @@ -1,30 +1,31 @@ PORTNAME= highs DISTVERSIONPREFIX= v DISTVERSION= 1.5.3 +PORTREVISION= 1 CATEGORIES= math PKGNAMEPREFIX= coin-or- MAINTAINER= yuri@FreeBSD.org COMMENT= Solver for large scale sparse linear programming (LP) problems WWW= https://github.com/ERGO-Code/HiGHS LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libOsi.so:math/osi USES= blaslapack cmake:testing compiler:c++11-lang pkgconfig USE_GITHUB= yes GH_ACCOUNT= ERGO-Code GH_PROJECT= HiGHS CMAKE_OFF= BUILD_TESTING post-install: # see https://github.com/ERGO-Code/HiGHS/issues/502 ${RM} -r ${STAGEDIR}${PREFIX}/external # 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 .include diff --git a/math/highs/files/patch-highs-config.cmake.in b/math/highs/files/patch-highs-config.cmake.in new file mode 100644 index 000000000000..7212ab8d0f63 --- /dev/null +++ b/math/highs/files/patch-highs-config.cmake.in @@ -0,0 +1,13 @@ +- see https://github.com/ERGO-Code/HiGHS/issues/1329 + +--- highs-config.cmake.in.orig 2023-06-16 07:34:37 UTC ++++ highs-config.cmake.in +@@ -13,7 +13,7 @@ else() + include("${CMAKE_CURRENT_LIST_DIR}/highs-targets.cmake") + endif() + +- set(HIGHS_LIBRARIES libhighs) ++ set(HIGHS_LIBRARIES highs) + endif() + + set(HIGHS_INCLUDE_DIRS "@CONF_INCLUDE_DIRS@")