mirror of https://git.freebsd.org/ports.git
math/cado-nfs: update 2.3.0-20240318 → 2.3.0-20240408
parent
a5440a97ff
commit
9f5fa23ba4
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= cado-nfs
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.3.0-20240318
|
||||
DISTVERSION= 2.3.0-20240408
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -13,6 +13,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
|
|||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||
bash:shells/bash
|
||||
LIB_DEPENDS= libecm.so:math/gmp-ecm \
|
||||
libfmt.so:devel/libfmt \
|
||||
libgf2x.so:math/gf2x \
|
||||
libgmp.so:math/gmp \
|
||||
libhwloc.so:devel/hwloc2
|
||||
|
@ -22,18 +23,15 @@ USES= cmake:noninja compiler:c++11-lang gmake perl5 python shebangfix # noninja
|
|||
|
||||
USE_GITLAB= yes
|
||||
GL_SITE= https://gitlab.inria.fr
|
||||
GL_TAGNAME= a24829267c8e81f58d8c643c7c5be5e454ef106e
|
||||
GL_TAGNAME= 58d113d3608e41378753cd949b077f7c80449279
|
||||
|
||||
SHEBANG_GLOB= *.py
|
||||
|
||||
MAKE_ENV+= WRKSRC=${WRKSRC} # for files/fake-c++: workaround for external libfmt getting into the build
|
||||
|
||||
CXXFLAGS_i386= -msse2 # workaround for error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'gf2x_mul4' that is compiled without support for 'sse2'
|
||||
|
||||
TEST_TARGET= check # 'test' does the same but is less verbose
|
||||
|
||||
BINARY_ALIAS= python3=${PYTHON_CMD} \
|
||||
c++=${FILESDIR}/fake-c++ # workaround for external libfmt getting into the build
|
||||
BINARY_ALIAS= python3=${PYTHON_CMD}
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1712522573
|
||||
SHA256 (cado-nfs-cado-nfs-a24829267c8e81f58d8c643c7c5be5e454ef106e_GL0.tar.gz) = 0af1c4ad0fd20caba7667cb9df3bcb999b7ea0bf7bb89bf3fd3c4b708d940cdb
|
||||
SIZE (cado-nfs-cado-nfs-a24829267c8e81f58d8c643c7c5be5e454ef106e_GL0.tar.gz) = 4190790
|
||||
TIMESTAMP = 1712604812
|
||||
SHA256 (cado-nfs-cado-nfs-58d113d3608e41378753cd949b077f7c80449279_GL0.tar.gz) = 060ec6ea3278a236c1ef635dee022aa84ac3463d19116f609ad0734dd5cbf6e2
|
||||
SIZE (cado-nfs-cado-nfs-58d113d3608e41378753cd949b077f7c80449279_GL0.tar.gz) = 4190908
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
# workaround for external libfmt getting into the buid
|
||||
/usr/bin/c++ -I $WRKSRC/utils/embedded "$@"
|
|
@ -1,35 +0,0 @@
|
|||
--- config/fmt.cmake.orig 2024-04-07 21:30:28 UTC
|
||||
+++ config/fmt.cmake
|
||||
@@ -23,7 +23,7 @@ endif()
|
||||
endif()
|
||||
|
||||
# Try in three passes, otherwise cmake gets in the way...
|
||||
-find_path (FMT_INCDIR fmt/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers"
|
||||
+find_path (FMT_INCDIR fmt-invalid/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers"
|
||||
NO_DEFAULT_PATH
|
||||
NO_SYSTEM_ENVIRONMENT_PATH
|
||||
NO_CMAKE_PATH
|
||||
@@ -32,19 +32,19 @@ if(NOT FMT_INCDIR)
|
||||
NO_CMAKE_FIND_ROOT_PATH
|
||||
)
|
||||
if(NOT FMT_INCDIR)
|
||||
-find_path (FMT_INCDIR fmt/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers"
|
||||
+find_path (FMT_INCDIR fmt-invalid/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers"
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
endif()
|
||||
if(NOT FMT_INCDIR)
|
||||
-find_path (FMT_INCDIR fmt/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers")
|
||||
+find_path (FMT_INCDIR fmt-invalid/core.h HINTS ${FMT_INCDIR_HINTS} DOC "fmt headers")
|
||||
endif()
|
||||
|
||||
-find_library(FMT_LIB fmt HINTS ${FMT_LIBDIR_HINTS} DOC "fmt library"
|
||||
+find_library(FMT_LIB fmt-invalid HINTS ${FMT_LIBDIR_HINTS} DOC "fmt library"
|
||||
NO_DEFAULT_PATH
|
||||
)
|
||||
if(NOT FMT_LIB)
|
||||
-find_library(FMT_LIB fmt HINTS ${FMT_LIBDIR_HINTS} DOC "fmt library")
|
||||
+find_library(FMT_LIB fmt-invalid HINTS ${FMT_LIBDIR_HINTS} DOC "fmt library")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue