From 6e09c88a0e456519a083ae3ecb83278aeddd4f0b Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 14 Apr 2021 00:52:36 -0700 Subject: [PATCH] math/scs: Update 2.1.2 -> 2.1.3 Reported by: portscout --- math/scs/Makefile | 14 +++++++++++--- math/scs/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/math/scs/Makefile b/math/scs/Makefile index 8cf2c255c7a5..97565148ce2d 100644 --- a/math/scs/Makefile +++ b/math/scs/Makefile @@ -1,5 +1,6 @@ PORTNAME= scs -DISTVERSION= 2.1.2 +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.3 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org @@ -9,15 +10,22 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gmake blaslapack:openblas fortran # fortran is for openblas +USE_LDCONFIG= yes + USE_GITHUB= yes GH_ACCOUNT= cvxgrp -USE_LDCONFIG= yes MAKE_ARGS= BLASLDFLAGS="-lopenblas" -ALL_TARGET= out/libscsdir.so out/libscsindir.so +ALL_TARGET= default post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so +do-test: + cd ${WRKSRC} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} out/demo_socp_indirect && \ + out/demo_socp_indirect 50 0.3 0.3 50 && \ + ${ECHO} "Test succeeded" + .include diff --git a/math/scs/distinfo b/math/scs/distinfo index 276dcc2e098d..26b98488cd7c 100644 --- a/math/scs/distinfo +++ b/math/scs/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1596124807 -SHA256 (cvxgrp-scs-2.1.2_GH0.tar.gz) = fa2a959180224e4a470d5e618012b56cf9d04aba9ff23c75117c01a8e3e70234 -SIZE (cvxgrp-scs-2.1.2_GH0.tar.gz) = 105773 +TIMESTAMP = 1618385374 +SHA256 (cvxgrp-scs-v2.1.3_GH0.tar.gz) = cb139aa8a53b8f6a7f2bacec4315b449ce366ec80b328e823efbaab56c847d20 +SIZE (cvxgrp-scs-v2.1.3_GH0.tar.gz) = 106374