diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2020-06-17 10:05:10 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2020-06-17 10:05:10 +0000 |
commit | 97d81944e807b28c579a6190708bb373eabe8a0f (patch) | |
tree | 1b03af7ddc6ffe6cc67137e6cabaf2c7c20af172 /math/sage/files/patch-src_bin_sage-spkg | |
parent | - Update WWW (diff) |
- Unbreak and upgrade to 9.1
- Take maintainership.
PR: 247298
Submitted by: /me
Approved by: stephen (previous maintainer)
Differential Revision: D24195
Diffstat (limited to 'math/sage/files/patch-src_bin_sage-spkg')
-rw-r--r-- | math/sage/files/patch-src_bin_sage-spkg | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/math/sage/files/patch-src_bin_sage-spkg b/math/sage/files/patch-src_bin_sage-spkg deleted file mode 100644 index 1533ba10e11f..000000000000 --- a/math/sage/files/patch-src_bin_sage-spkg +++ /dev/null @@ -1,32 +0,0 @@ ---- src/bin/sage-spkg-orig 2014-01-29 17:26:07.000000000 +0000 -+++ src/bin/sage-spkg 2014-01-29 17:41:25.000000000 +0000 -@@ -593,6 +593,29 @@ - exit 1 - fi - -+if ls fbsd-patch-* > /dev/null 2>&1; then -+ echo "===> Applying FreeBSD patches" -+ cat fbsd-patch-* | patch -p0 || exit 1 -+ echo "===> Done applying FreeBSD patches" -+fi -+ -+# Inspired by run-autotools-fixup target in Mk/bsd.port.mk. -+# Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. -+for f in `find src -type f \( -name config.libpath -o \ -+ -name config.rpath -o -name configure -o -name libtool.m4 -o \ -+ -name ltconfig -o -name libtool -o -name aclocal.m4 -o \ -+ -name acinclude.m4 \)` ; do \ -+ sed -i.fbsd10bak \ -+ -e 's|freebsd1\*)|freebsd1.\*)|g' \ -+ -e 's|freebsd\[12\]\*)|freebsd[12].*)|g' \ -+ -e 's|freebsd\[123\]\*)|freebsd[123].*)|g' \ -+ -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ -+ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ -+ ${f} -+ rm -f ${f}.fbsd10bak -+ echo "===> FreeBSD 10 autotools fix applied to ${f}"; \ -+done -+ - # When there is no spkg-install, assume the "spkg" is a tarball not - # specifically made for Sage. Since we want it to be as easy as - # possible to install such a package, we "guess" spkg-install. |