aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-05-17 05:25:45 +0800
committerstephen <stephen@FreeBSD.org>2014-05-17 05:25:45 +0800
commit335b62c4bba4f08f8f2eb0ec36e3b8183eca1b00 (patch)
treecef14dd929a2a5085e8e48a605281ae20ae0b0f5
parent64d0aef23094ca60e593a7cb0d9044b08b8ac8fd (diff)
downloadfreebsd-ports-gnome-335b62c4bba4f08f8f2eb0ec36e3b8183eca1b00.tar.gz
freebsd-ports-gnome-335b62c4bba4f08f8f2eb0ec36e3b8183eca1b00.tar.zst
freebsd-ports-gnome-335b62c4bba4f08f8f2eb0ec36e3b8183eca1b00.zip
- Fix subpackage libm4ri to pick up sage version of png library.
- Bump portrevision. Reference: http://trac.sagemath.org/ticket/16368
-rw-r--r--math/sage/Makefile1
-rw-r--r--math/sage/files/patch-build_pkgs_libm4ri_spkg-install10
2 files changed, 11 insertions, 0 deletions
diff --git a/math/sage/Makefile b/math/sage/Makefile
index c0af9f7c896a..5d0b4369c7aa 100644
--- a/math/sage/Makefile
+++ b/math/sage/Makefile
@@ -3,6 +3,7 @@
PORTNAME= sage
PORTVERSION= 6.2
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= http://boxen.math.washington.edu/home/sagemath/sage-mirror/src/ \
http://mirrors.xmission.com/sage/src/ \
diff --git a/math/sage/files/patch-build_pkgs_libm4ri_spkg-install b/math/sage/files/patch-build_pkgs_libm4ri_spkg-install
new file mode 100644
index 000000000000..ebd4cb6f6e53
--- /dev/null
+++ b/math/sage/files/patch-build_pkgs_libm4ri_spkg-install
@@ -0,0 +1,10 @@
+--- build/pkgs/libm4ri/spkg-install-orig 2014-05-16 18:34:53.000000000 +0000
++++ build/pkgs/libm4ri/spkg-install 2014-05-16 18:48:25.000000000 +0000
+@@ -54,6 +54,7 @@
+
+ cd $ROOT_DIR/src/
+
++env PKG_CONFIG_LIBDIR=$SAGE_LOCAL/lib/pkgconfig \
+ ./configure --prefix="$SAGE_LOCAL" --libdir="$SAGE_LOCAL/lib" $ENABLE_DEBUG $DISABLE_SSE2
+
+ if [ $? -ne 0 ]; then