math/spectra: Update 0.6.1 -> 0.6.2
Also add do-test target. Reported by: portscout
This commit is contained in:
parent
a23908facf
commit
e1704ce16d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470677
3 changed files with 17 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= spectra
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.6.1
|
||||
DISTVERSION= 0.6.2
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -16,7 +16,12 @@ GH_ACCOUNT= yixuan
|
|||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
TEST_RUN_DEPENDS= gmake>0:devel/gmake
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
|
||||
|
||||
do-test: # some tests are known to fail: https://github.com/yixuan/spectra/issues/47
|
||||
@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} CXXFLAGS=-I${LOCALBASE}/include/eigen3 ${GMAKE} all test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1524467637
|
||||
SHA256 (yixuan-spectra-v0.6.1_GH0.tar.gz) = 8cd78754de89ffa2990576d6fb7832ff5504a0fbd9f3d2ec9bda4993f9a639a1
|
||||
SIZE (yixuan-spectra-v0.6.1_GH0.tar.gz) = 164458
|
||||
TIMESTAMP = 1527051358
|
||||
SHA256 (yixuan-spectra-v0.6.2_GH0.tar.gz) = 28ef6a11707678cd6d678b2006786aa7d1af75773a4e2cacbadcdbe2710190cc
|
||||
SIZE (yixuan-spectra-v0.6.2_GH0.tar.gz) = 168066
|
||||
|
|
8
math/spectra/files/patch-test_Makefile
Normal file
8
math/spectra/files/patch-test_Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
--- test/Makefile.orig 2018-05-22 20:39:55 UTC
|
||||
+++ test/Makefile
|
||||
@@ -1,4 +1,4 @@
|
||||
-CXXFLAGS = -std=c++11 -Wall -O2 -Wno-parentheses -Wno-misleading-indentation -Wno-int-in-bool-context
|
||||
+CXXFLAGS += -std=c++11 -Wall -O2 -Wno-parentheses
|
||||
CPPFLAGS = -I../include
|
||||
LDFLAGS =
|
||||
LIBS =
|
Loading…
Reference in a new issue