aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2015-03-27 12:20:28 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2015-03-27 12:20:28 +0000
commit9054b284dfbb63dce40647f5f4a8804a1c7f622a (patch)
tree33a49f8a84e99de7fdba02697cd483ad08f9228c /math
parent9a3cb87f9fcf79e12d11d35691daf0d7a66d50c6 (diff)
downloadports-9054b284dfbb63dce40647f5f4a8804a1c7f622a.tar.gz
ports-9054b284dfbb63dce40647f5f4a8804a1c7f622a.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/sage/Makefile2
-rw-r--r--math/sage/files/patch-build_pkgs_git_spkg-install11
2 files changed, 11 insertions, 2 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile
index 9a19d19d3fa1..ccf640555520 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -58,8 +58,6 @@ LATEST_LINK= sage-math # Conflicts with graphics/sage.
MAKE_ARGS+= ARCH="${AR}"
post-patch:
- ${REINPLACE_CMD} 's/$$MAKE $$gettext/$$MAKE PTHREAD_LIBS=-lpthread $$gettext/' ${WRKSRC}/build/pkgs/git/spkg-install
-
# Create wrapper for invocation of make.
@${MKDIR} ${WRKSRC}/local/bin
@${LN} -s -f ${LOCALBASE}/bin/gmake ${WRKSRC}/local/bin/make
diff --git a/math/sage/files/patch-build_pkgs_git_spkg-install b/math/sage/files/patch-build_pkgs_git_spkg-install
new file mode 100644
index 000000000000..4b03d3fcc578
--- /dev/null
+++ b/math/sage/files/patch-build_pkgs_git_spkg-install
@@ -0,0 +1,11 @@
+--- build/pkgs/git/spkg-install.bak 2015-02-17 00:15:08.000000000 +0000
++++ build/pkgs/git/spkg-install 2015-03-27 02:33:07.652231000 +0000
+@@ -77,7 +77,7 @@
+
+
+ echo "Building git..."
+-$MAKE $gettext
++$MAKE PTHREAD_LIBS=-lpthread $gettext
+ if [ $? -ne 0 ]; then
+ echo >&2 "Error building git."
+ exit 1