diff --git a/math/form/Makefile b/math/form/Makefile index 24c178d81e13..0b6055a87023 100644 --- a/math/form/Makefile +++ b/math/form/Makefile @@ -1,52 +1,52 @@ PORTNAME= form -DISTVERSIONPREFIX= v -DISTVERSION= 4.3.1 -PORTREVISION= 1 +DISTVERSION= 5.0.0 CATEGORIES= math +MASTER_SITES= https://github.com/form-dev/form/releases/download/v${DISTVERSION}/ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Symbolic Manipulation System -WWW= https://www.nikhef.nl/~form/ +WWW= https://www.nikhef.nl/~form/ \ + https://github.com/form-dev/form LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libgmp.so:math/gmp +LIB_DEPENDS= libgmp.so:math/gmp \ + libmpfr.so:math/mpfr \ + libzstd.so:archivers/zstd USES= autoreconf gmake localbase -USE_GITHUB= yes -GH_ACCOUNT= vermaseren GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-native \ --enable-largefile \ --enable-scalar \ --with-api=posix OPTIONS_DEFINE= DOXYGEN OPENMPI OPTIONS_SUB= yes MPICC?= ${LOCALBASE}/mpi/openmpi/bin/mpicc MPICXX?= ${LOCALBASE}/mpi/openmpi/bin/mpic++ DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen OPENMPI_LIB_DEPENDS= libgcc_s.so.1:lang/gcc9 \ libmpi.so:net/openmpi OPENMPI_CONFIGURE_ENABLE= parform OPENMPI_CONFIGURE_ENV+= MPICC="${MPICC}" \ MPICXX="${MPICXX}" .include .if ${OPSYS} == FreeBSD CFLAGS+= -Wno-error=incompatible-function-pointer-types .endif post-build-DOXYGEN-on: (cd ${WRKSRC}/doc/manual; ${MAKE_CMD} html pdf) post-install-DOXYGEN-on: (cd ${WRKSRC}/doc/manual && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}) ${INSTALL_DATA} ${WRKSRC}/doc/manual/manual.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/math/form/distinfo b/math/form/distinfo index 9c32e83324f1..2aa8d0431803 100644 --- a/math/form/distinfo +++ b/math/form/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1681277568 -SHA256 (vermaseren-form-v4.3.1_GH0.tar.gz) = c32bb45e3c52ecdfe1ea5bf8cca289bb5e9c7841af24eb971a3f30d886ac60b7 -SIZE (vermaseren-form-v4.3.1_GH0.tar.gz) = 1288306 +TIMESTAMP = 1769779175 +SHA256 (form-5.0.0.tar.gz) = 10d22acf2f0acf831b494e6a73682828980b9054ea8ec2b5dc46677dca8d6518 +SIZE (form-5.0.0.tar.gz) = 1741391 diff --git a/math/form/files/patch-configure.ac b/math/form/files/patch-configure.ac index 30b228134f2d..0e383408c7d6 100644 --- a/math/form/files/patch-configure.ac +++ b/math/form/files/patch-configure.ac @@ -1,20 +1,11 @@ ---- configure.ac.orig 2022-11-15 09:35:49 UTC +--- configure.ac.orig 2026-01-27 09:44:03 UTC +++ configure.ac -@@ -768,8 +768,6 @@ AC_DEFUN([AX_HANDLE_EXTRA_WARNING], - [$1="$$1 -Wno-misleading-indentation"]) - # Too many false positives. - # See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 -- AX_CHECK_COMPILE_FLAG([-Wno-stringop-overflow], -- [$1="$$1 -Wno-stringop-overflow"]) - fi[]dnl - ]) - -@@ -780,7 +778,7 @@ if test "$my_test_COMPILEFLAGS" != set; then - COMPILEFLAGS="-Wall -Wextra -Wpadded" +@@ -938,7 +938,7 @@ if test "$my_test_COMPILEFLAGS" != set; then + COMPILEFLAGS="-Wall -Wextra" AX_HANDLE_EXTRA_WARNING([COMPILEFLAGS]) # Enable optimizations. - COMPILEFLAGS="$COMPILEFLAGS -O3" + COMPILEFLAGS="$COMPILEFLAGS" - if test "x$enable_profile" != xgprof; then - # -pg conflicts with -fomit-frame-pointer. - COMPILEFLAGS="$COMPILEFLAGS -fomit-frame-pointer" + if test "x$enable_backtrace" = xyes; then + # Keep symbols and frame pointers for easier debugging. + COMPILEFLAGS="$COMPILEFLAGS -g -fno-omit-frame-pointer"