diff options
-rw-r--r-- | math/sage/Makefile | 1 | ||||
-rw-r--r-- | math/sage/files/patch-build_pkgs_flint_spkg-configure.m4 | 14 |
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]) |