summaryrefslogtreecommitdiff
path: root/academic/staden/staden.SlackBuild
diff options
context:
space:
mode:
authorPetar Petrov <ppetrov@paju.oulu.fi>2012-09-11 22:47:57 +0300
committerRobby Workman <rworkman@slackbuilds.org>2012-09-11 23:53:42 -0500
commitdea576fec344061d75fce02c9b07ee7d14596a32 (patch)
tree73ec8570b07375d41184e22e8d0aa389a97e6d08 /academic/staden/staden.SlackBuild
parent4be8b0406fe27b22b7fd2725009bf6bcb495f65a (diff)
downloadslackbuilds-dea576fec344061d75fce02c9b07ee7d14596a32.tar.gz
academic/staden: Build fixes for Slackware 14.0
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/staden/staden.SlackBuild')
-rwxr-xr-x[-rw-r--r--]academic/staden/staden.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/academic/staden/staden.SlackBuild b/academic/staden/staden.SlackBuild
index 707e9007de..17f236fdb6 100644..100755
--- a/academic/staden/staden.SlackBuild
+++ b/academic/staden/staden.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=staden
VERSION=${VERSION:-2.0.0b9}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -35,8 +35,8 @@ if [ -z "$ARCH" ]; then
esac
fi
-SLKTCL=tcl8.5.9 # Slackware 13.37 sources for TCL
-SLKTK=tk8.5.9 # Slackware 13.37 sources for TK
+SLKTCL=tcl8.5.11 # Slackware 14.0 sources for TCL
+SLKTK=tk8.5.11 # Slackware 14.0 sources for TK
TKLIB=tklib0.5 # Folder name of TKLIB
CWD=$(pwd)
@@ -86,6 +86,7 @@ find $PRGNAM-$VERSION-src ${PRGNAM}_doc-$VERSION-src \
-exec chmod 644 {} \;
cd $PRGNAM-$VERSION-src
+
# On Slackware64, the components of staden (like GAP4, GAP5, PREGAP4,
# SPIN, TREV) will not run, as they still expect their libraries to be
# in /usr/lib not /usr/lib64. Let's correct the libraries path.
@@ -103,6 +104,11 @@ sed -i "73 a EMBOSS_DATA=/usr/share/EMBOSS/data; export EMBOSS_DATA" spin/spin
# Correct the path where staden components look for their manual.
sed -i "s:/share/doc/staden/manual:/doc/$PRGNAM-$VERSION/manual:" tk_utils/help_config
+# These fixes are from Arch linux AUR
+# http://aur.archlinux.org/packages/st/staden/PKGBUILD
+sed -i 's:-DSVN_VERSION=$(SVNVERS)::' system.mk.in
+sed -i "s/gzFile\ \*gz/gzFile\ gz/" gap5/zfio.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \