summaryrefslogtreecommitdiff
path: root/academic/octave/octave.SlackBuild
diff options
context:
space:
mode:
authorKyle Guinn <elyk03@gmail.com>2014-03-28 12:27:59 -0500
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:59:47 -0500
commita4817c984eb33b8ad06ace78e79c8e54159ac261 (patch)
tree1ae093bcdae4e3fa08b2f079138867d470e71b98 /academic/octave/octave.SlackBuild
parente7695c5163dc2e7abd8e1b8e49a0e47604ca3958 (diff)
downloadslackbuilds-a4817c984eb33b8ad06ace78e79c8e54159ac261.tar.gz
academic/octave: Updated for version 3.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/octave/octave.SlackBuild')
-rw-r--r--academic/octave/octave.SlackBuild29
1 files changed, 14 insertions, 15 deletions
diff --git a/academic/octave/octave.SlackBuild b/academic/octave/octave.SlackBuild
index 275582c965..9ba829b157 100644
--- a/academic/octave/octave.SlackBuild
+++ b/academic/octave/octave.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=octave
-VERSION=${VERSION:-3.8.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.8.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -72,25 +72,24 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
-# Allow Octave to find compressed info files.
-# https://savannah.gnu.org/bugs/?41054
-patch -p1 < $CWD/patches/compressed-info.diff
+chmod -R u+w,go-w,a+rX-st .
# Don't try to detect Qt5. It's not supported yet.
# https://savannah.gnu.org/bugs/?40252
patch -p1 < $CWD/patches/no-qt5.diff
-
-# Fix several configure checks due to the above umfpack.h -> amd.h issue.
-# https://savannah.gnu.org/bugs/?41209
-patch -p1 < $CWD/patches/umfpack-cppflags.diff
autoreconf -vif
+# Avoid rebuilding the documentation by making stamp-vti newer than its
+# dependencies (in particular ./configure, which we just modified above).
+# If you live far enough east or west that the date contained in version.texi
+# does not match that file's timestamp when printed accounting for your
+# timezone, then the docs get rebuilt with your local date.
+#
+# The TeX environment in Slackware 14.1 fails to build the DVI and PDF
+# targets in Octave 3.8.1. Maybe it works with a recent version of TeXLive?
+touch doc/liboctave/stamp-vti
+touch doc/interpreter/stamp-vti
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
FFLAGS="$SLKCFLAGS" \