freebsd-ports/math/sage/files/patch-build_pkgs_zlib_spkg-install
Stephen Montgomery-Smith 8a80f53a2f - Update to 6.4.
2014-12-07 16:01:20 +00:00

13 lines
411 B
Plaintext

--- build/pkgs/zlib/spkg-install-orig 2014-12-06 21:41:30.000000000 +0000
+++ build/pkgs/zlib/spkg-install 2014-12-06 21:42:12.000000000 +0000
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
+# Use system zlibc because on FreeBSD the following doesn't build relocatable
+# libraries.
+exit 0
+
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "Error: SAGE_LOCAL undefined - exiting..."
echo >&2 "Maybe run 'sage -sh'?"