Skip to content

Commit

Permalink
math/singular: Update 4.2.1 -> 4.3.0
Browse files Browse the repository at this point in the history
Reported by:	portscout
  • Loading branch information
yurivict committed Mar 11, 2022
1 parent bb95662 commit 0eed90a
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 19 deletions.
14 changes: 9 additions & 5 deletions math/singular/Makefile
@@ -1,7 +1,6 @@
PORTNAME= singular
DISTVERSIONPREFIX= Release-
DISTVERSION= 4-2-1
PORTREVISION= 1
DISTVERSION= 4-3-0
CATEGORIES= math
#MASTER_SITES= ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${PORTVERSION:C/\./-/g}/

Expand All @@ -16,17 +15,22 @@ LIB_DEPENDS= libgmp.so:math/gmp \
RUN_DEPENDS= bash:shells/bash

USES= autoreconf gmake libtool ncurses perl5 pkgconfig readline shebangfix
GNU_CONFIGURE= yes
USE_PERL5= build
USE_LDCONFIG= yes

USE_GITHUB= yes
GH_ACCOUNT= Singular
GH_PROJECT= Singular
USE_PERL5= build
USE_LDCONFIG= yes

GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --disable-dependency-tracking --without-python

SHEBANG_FILES= Singular/surfex \
libpolys/libpolys-config.in \
libsingular-config.in

TEST_TARGET= check

OPTIONS_DEFINE= FLINT NTL
OPTIONS_DEFAULT= FLINT NTL
OPTIONS_SUB= yes
Expand Down
6 changes: 3 additions & 3 deletions math/singular/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1627593707
SHA256 (Singular-Singular-Release-4-2-1_GH0.tar.gz) = 65990dd7a68d71b622e18f5a7f65c5a7ed859095e1facfc211579f09a4fc0ac4
SIZE (Singular-Singular-Release-4-2-1_GH0.tar.gz) = 12883061
TIMESTAMP = 1647011350
SHA256 (Singular-Singular-Release-4-3-0_GH0.tar.gz) = 9189ef41e91317f4de2b4e5d83ae257a26a0bd009a2a4a133b4477212a1f6fd2
SIZE (Singular-Singular-Release-4-3-0_GH0.tar.gz) = 13731053
6 changes: 3 additions & 3 deletions math/singular/files/patch-m4_flags.m4
@@ -1,11 +1,11 @@
--- m4/flags.m4.orig 2020-01-24 09:42:54 UTC
--- m4/flags.m4.orig 2022-01-12 15:46:27 UTC
+++ m4/flags.m4
@@ -122,7 +122,7 @@ AC_DEFUN([SING_CHECK_SET_ARGS], [
## for clang: -Wunneeded-internal-declaration
if test "x${ENABLE_OPTIMIZATION}" != xno; then
- OPTFLAGS="-g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-delete-null-pointer-checks"
+ OPTFLAGS="-Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops -fno-delete-null-pointer-checks"
- OPTFLAGS="-g0 -O3 -Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops"
+ OPTFLAGS="-Wno-unused-function -Wno-trigraphs -Wno-unused-parameter -Wunknown-pragmas -Wno-unused-variable -fomit-frame-pointer -fwrapv -fvisibility=default -finline-functions -fno-exceptions -fno-threadsafe-statics -fno-enforce-eh-specs -fconserve-space -funroll-loops"
# -O3 - crashes gcc???!!!
# -fpermissive
AC_LANG_PUSH([C])
16 changes: 8 additions & 8 deletions math/singular/pkg-plist
Expand Up @@ -37,6 +37,7 @@ include/omalloc/omalloc.h
include/omalloc/omallocClass.h
include/resources/feFopen.h
include/resources/feResource.h
include/resources/fegetopt.h
include/resources/omFindExec.h
include/resources/singular_resourcesconfig.h
include/singular/Singular/attrib.h
Expand Down Expand Up @@ -116,7 +117,6 @@ include/singular/coeffs/mpr_complex.h
include/singular/coeffs/mpr_global.h
include/singular/coeffs/ntupel.h
include/singular/coeffs/numbers.h
include/singular/coeffs/numstats.h
include/singular/coeffs/rintegers.h
include/singular/coeffs/rmodulo2m.h
include/singular/coeffs/rmodulon.h
Expand Down Expand Up @@ -195,7 +195,6 @@ include/singular/misc/sirandom.h
include/singular/polys/PolyEnumerator.h
include/singular/polys/clapconv.h
include/singular/polys/clapsing.h
include/singular/polys/coeffrings.h
include/singular/polys/ext_fields/algext.h
include/singular/polys/ext_fields/transext.h
include/singular/polys/flint_mpoly.h
Expand Down Expand Up @@ -228,19 +227,19 @@ include/singular/reporter/reporter.h
include/singular/reporter/s_buff.h
include/singular/reporter/si_signals.h
include/singular/singularconfig.h
lib/libSingular-4.2.1.so
lib/libSingular-4.3.0.so
lib/libSingular.a
lib/libSingular.so
lib/libfactory-4.2.1.so
lib/libfactory-4.3.0.so
lib/libfactory.a
lib/libfactory.so
lib/libomalloc-0.9.6.so
lib/libomalloc.a
lib/libomalloc.so
lib/libpolys-4.2.1.so
lib/libpolys-4.3.0.so
lib/libpolys.a
lib/libpolys.so
lib/libsingular_resources-4.2.1.so
lib/libsingular_resources-4.3.0.so
lib/libsingular_resources.a
lib/libsingular_resources.so
libdata/pkgconfig/Singular.pc
Expand All @@ -255,7 +254,6 @@ libexec/singular/MOD/customstd.a
libexec/singular/MOD/customstd.so
libexec/singular/MOD/freealgebra.a
libexec/singular/MOD/freealgebra.so
libexec/singular/MOD/gen_test
libexec/singular/MOD/gfanlib.a
libexec/singular/MOD/gfanlib.so
libexec/singular/MOD/gitfan.a
Expand Down Expand Up @@ -408,7 +406,6 @@ share/ml_singular/extract.lib
%%DATADIR%%/LIB/arnoldclassify.lib
%%DATADIR%%/LIB/arr.lib
%%DATADIR%%/LIB/assprimeszerodim.lib
%%DATADIR%%/LIB/atkins.lib
%%DATADIR%%/LIB/autgradalg.lib
%%DATADIR%%/LIB/bfun.lib
%%DATADIR%%/LIB/bimodules.lib
Expand Down Expand Up @@ -446,6 +443,7 @@ share/ml_singular/extract.lib
%%DATADIR%%/LIB/dummy.lib
%%DATADIR%%/LIB/elim.lib
%%DATADIR%%/LIB/ellipticcovers.lib
%%DATADIR%%/LIB/enumpoints.lib
%%DATADIR%%/LIB/equising.lib
%%DATADIR%%/LIB/ffmodstd.lib
%%DATADIR%%/LIB/ffsolve.lib
Expand Down Expand Up @@ -543,6 +541,7 @@ share/ml_singular/extract.lib
%%DATADIR%%/LIB/primdec.lib
%%DATADIR%%/LIB/primdecint.lib
%%DATADIR%%/LIB/primitiv.lib
%%DATADIR%%/LIB/puiseuxexpansions.lib
%%DATADIR%%/LIB/purityfiltration.lib
%%DATADIR%%/LIB/qhmoduli.lib
%%DATADIR%%/LIB/qmatrix.lib
Expand All @@ -569,6 +568,7 @@ share/ml_singular/extract.lib
%%DATADIR%%/LIB/rstandard.lib
%%DATADIR%%/LIB/rwalk.lib
%%DATADIR%%/LIB/sagbi.lib
%%DATADIR%%/LIB/sagbigrob.lib
%%DATADIR%%/LIB/schreyer.lib
%%DATADIR%%/LIB/schubert.lib
%%DATADIR%%/LIB/sets.lib
Expand Down

0 comments on commit 0eed90a

Please sign in to comment.