summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2020-06-18 19:31:57 +0000
committerThierry Thomas <thierry@FreeBSD.org>2020-06-18 19:31:57 +0000
commite97f20d6948a45b95ce63e47a96fcba4510385d4 (patch)
treeadc2c9547b03401617f79d2779399c805bd053a0
parentmath/sympow: Fix build by setting HOME env var to WRKDIR. (diff)
Chase the upgrade of math/flint2.
Notes
Notes: svn path=/head/; revision=539562
-rw-r--r--math/sage/Makefile1
-rw-r--r--math/sage/files/patch-build_pkgs_flint_spkg-configure.m414
2 files changed, 15 insertions, 0 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile
index ae291cefadcc..2dbe42ac4cd2 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sage
PORTVERSION= 9.1
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://mirrors.xmission.com/sage/src/ \
http://mirrors.xmission.com/sage/src/ \
diff --git a/math/sage/files/patch-build_pkgs_flint_spkg-configure.m4 b/math/sage/files/patch-build_pkgs_flint_spkg-configure.m4
new file mode 100644
index 000000000000..bf2e4ea8bf72
--- /dev/null
+++ b/math/sage/files/patch-build_pkgs_flint_spkg-configure.m4
@@ -0,0 +1,14 @@
+--- build/pkgs/flint/spkg-configure.m4.orig 2020-06-18 13:10:54 UTC
++++ build/pkgs/flint/spkg-configure.m4
+@@ -13,11 +13,6 @@ SAGE_SPKG_CONFIGURE([flint], [
+ AC_SEARCH_LIBS([fmpz_poly_get_ZZX], [flint], [
+
+ AC_MSG_CHECKING([that GC is not enabled in Flint... ])
+- AC_RUN_IFELSE([
+- AC_LANG_PROGRAM([[#include <flint/flint.h>]], [[return HAVE_GC;]])],
+- [AC_MSG_RESULT([GC not enabled. Good.])],
+- [AC_MSG_RESULT([GC enabled. Incompatible with Sage.])
+- sage_spkg_install_flint=yes])
+ ], [sage_spkg_install_flint=yes])
+ ], [sage_spkg_install_flint=yes])
+ ], [sage_spkg_install_flint=yes])