git: 953b6c4b1de4 - main - math/gravity: Update 1.1.20210825 -> 1.1.20220309
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Mar 2022 08:49:38 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=953b6c4b1de45392062c3b565a0b10d0a1054612
commit 953b6c4b1de45392062c3b565a0b10d0a1054612
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-03-12 08:48:04 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-03-12 08:49:36 +0000
math/gravity: Update 1.1.20210825 -> 1.1.20220309
This also removes dependency on gcc files.
Reported by: Gerald Pfeifer <gerald@pfeifer.com> (gcc dependency)
---
math/gravity/Makefile | 10 +++-------
math/gravity/distinfo | 6 +++---
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/math/gravity/Makefile b/math/gravity/Makefile
index fc2399e4c066..1a7b04cda919 100644
--- a/math/gravity/Makefile
+++ b/math/gravity/Makefile
@@ -1,6 +1,6 @@
PORTNAME= gravity
DISTVERSIONPREFIX= v
-DISTVERSION= 1.1.20210825
+DISTVERSION= 1.1.20220309
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
@@ -10,8 +10,7 @@ COMMENT= Mathematical modeling for optimization and machine learning
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs \
- gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT} # not sure why does it need gcc, maybe for libquadmath.so
+BUILD_DEPENDS= ${LOCALBASE}/include/boost/graph/adjacency_list.hpp:devel/boost-libs
LIB_DEPENDS= libblas.so:math/blas \
libCbc.so:math/cbc \
libCgl.so:math/cgl \
@@ -19,22 +18,19 @@ LIB_DEPENDS= libblas.so:math/blas \
libcoinasl.so:math/asl \
liblapack.so:math/lapack \
libopenblas.so:math/openblas
-RUN_DEPENDS= gcc${GCC_DEFAULT}>0:lang/gcc${GCC_DEFAULT}
USES= cmake compiler:c++11-lang eigen:3 localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Gravity
-GH_TAGNAME= e500e78
+GH_TAGNAME= 47ac86a
CMAKE_ARGS+= -DIPOPT_ROOT_DIR=${LOCALBASE}
CMAKE_ON= Boost
CMAKE_OFF= MP
CMAKE_OFF+= Ipopt CoinUtils # fails to find Ipopt and CoinUtils for some reason
-LDFLAGS+= -L${LOCALBASE}/lib/gcc${GCC_DEFAULT}
-
do-test:
@cd ${BUILD_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \
diff --git a/math/gravity/distinfo b/math/gravity/distinfo
index f14b8f43c1b2..401d7fd8d95c 100644
--- a/math/gravity/distinfo
+++ b/math/gravity/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645717844
-SHA256 (coin-or-Gravity-v1.1.20210825-e500e78_GH0.tar.gz) = 89a6166d1f0a1ae407e9027f4032b9d054c14ea793a396529ca2a32ae6ce8419
-SIZE (coin-or-Gravity-v1.1.20210825-e500e78_GH0.tar.gz) = 16886810
+TIMESTAMP = 1647073695
+SHA256 (coin-or-Gravity-v1.1.20220309-47ac86a_GH0.tar.gz) = 8f68daa13eeac8d1d1bba4f54ea5cb0d683c603b2a0561ab4c8a905d5b6ff833
+SIZE (coin-or-Gravity-v1.1.20220309-47ac86a_GH0.tar.gz) = 17014869