Skip to content

Commit

Permalink
math/givaro: Update to 4.2.0
Browse files Browse the repository at this point in the history
PR:		272641
Reported by:	wen@
Approved by:	maintainer
  • Loading branch information
wenheping committed Aug 1, 2023
1 parent 80a1a60 commit 4409f48
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 17 deletions.
5 changes: 2 additions & 3 deletions math/givaro/Makefile
@@ -1,7 +1,6 @@
PORTNAME= givaro
PORTVERSION= 4.1.1
PORTVERSION= 4.2.0
DISTVERSIONPREFIX=v
PORTREVISION= 3
CATEGORIES= math

MAINTAINER= pi@FreeBSD.org
Expand All @@ -15,7 +14,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

LIB_DEPENDS= libgmp.so:math/gmp

USES= autoreconf compiler:c++11-lang gmake libtool pathfix pkgconfig
USES= autoreconf compiler:c++11-lang gmake libtool localbase pathfix pkgconfig
USE_CXXSTD= c++11
USE_GITHUB= yes
GH_ACCOUNT= linbox-team
Expand Down
6 changes: 3 additions & 3 deletions math/givaro/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1583962842
SHA256 (linbox-team-givaro-v4.1.1_GH0.tar.gz) = d0cde67e7b29c5d6a0ba0afb52410a91bd0f7f2c2b14def1fe4f98b22b7494d7
SIZE (linbox-team-givaro-v4.1.1_GH0.tar.gz) = 645424
TIMESTAMP = 1690897251
SHA256 (linbox-team-givaro-v4.2.0_GH0.tar.gz) = dca23a928e4704f045848fce884fe49ce09a8de7ebf750b87c807ca4e0facedd
SIZE (linbox-team-givaro-v4.2.0_GH0.tar.gz) = 637479
17 changes: 8 additions & 9 deletions math/givaro/files/patch-configure.ac
@@ -1,15 +1,14 @@
--- configure.ac.orig 2019-06-07 13:23:45 UTC
--- configure.ac.orig 2023-07-20 23:09:18 UTC
+++ configure.ac
@@ -49,11 +49,7 @@ AC_COMPILER_NAME
@@ -48,10 +48,7 @@ AC_COMPILER_NAME

# We need a C++11 compiler now - AB 2014-12-12
# clang-3.8 does not support __float128 without explicitly passing it -std=c++11
-if test "x${CCNAM}" = "xclang38" ; then
- AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
-else
- AX_CXX_COMPILE_STDCXX_11([ext],[mandatory])
-fi
-AS_IF([test "x${CCNAM}" = "xclang38"],
- [AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])],
- [AX_CXX_COMPILE_STDCXX_11([ext],[mandatory])]
- )
+AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
REQUIRED_FLAGS="$CXX11FLAGS"
REQUIRED_FLAGS="${CXX11FLAGS}"
# Add the c++11 flags for the configure compilations as clang needs it to work properly with a glibc++ compiled with gcc
BACKUP_CXXFLAGS="${CXXFLAGS}"
CXXFLAGS="${CXX11FLAGS} ${CXXFLAGS}"
7 changes: 5 additions & 2 deletions math/givaro/pkg-plist
@@ -1,6 +1,5 @@
%%PORTDOCS%%%%DOCSDIR%%/givaro.html
bin/givaro-config
bin/givaro-makefile
include/givaro-config.h
include/givaro/StaticElement.h
include/givaro/chineseremainder.h
Expand Down Expand Up @@ -113,9 +112,11 @@ include/givaro/givtablelimits.h
include/givaro/givtimer.h
include/givaro/givtruncdomain.h
include/givaro/givtruncdomain.inl
include/givaro/givtypestring.h
include/givaro/givvectdenseops.inl
include/givaro/givvectdensespe.inl
include/givaro/givvector.h
include/givaro/givvectordense.h
include/givaro/givvectordense.inl
include/givaro/givvectorsparse.h
include/givaro/givvectorsparse.inl
Expand Down Expand Up @@ -153,6 +154,7 @@ include/givaro/montgomery-int32.inl
include/givaro/montgomery-ruint.h
include/givaro/montgomery-ruint.inl
include/givaro/montgomery.h
include/givaro/qfield.h
include/givaro/random-integer.h
include/givaro/ring-interface.h
include/givaro/udl.h
Expand Down Expand Up @@ -224,5 +226,6 @@ include/recint/rutools.h
lib/libgivaro.a
lib/libgivaro.so
lib/libgivaro.so.9
lib/libgivaro.so.9.1.1
lib/libgivaro.so.9.2.0
libdata/pkgconfig/givaro.pc
%%DATADIR%%/givaro-makefile

0 comments on commit 4409f48

Please sign in to comment.