summaryrefslogtreecommitdiffstats
path: root/office
diff options
context:
space:
mode:
author Matteo Bernardini2014-03-24 16:04:57 +0100
committer Erik Hanson2014-04-12 20:58:47 +0200
commit2c4d6bad0e9fbfc07b524b63a517ecff5659443d (patch)
treea1d455cd2aab0b3a0e8fcfe68949ccb41ce6ff4c /office
parenta211ff3cc9b2988894eec687a391d84568fe8b52 (diff)
downloadslackbuilds-2c4d6bad0e9fbfc07b524b63a517ecff5659443d.tar.gz
office/texmacs: Link against guile1.8 (to avoid segfaults).
Thanks to foobarz on irc for the hint Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/texmacs/texmacs.SlackBuild7
-rw-r--r--office/texmacs/texmacs.info2
2 files changed, 7 insertions, 2 deletions
diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild
index 04a1c45c38..a5df00b5b2 100644
--- a/office/texmacs/texmacs.SlackBuild
+++ b/office/texmacs/texmacs.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=texmacs
VERSION=${VERSION:-1.0.7.21}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=TeXmacs
@@ -71,6 +71,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Use guile1.8, guile-2.x in Slackware causes segfaults
+sed -i -e "s|guile-config\ |guile-config1.8 |g" -e "s|guile\ |guile1.8 |g" configure
+
+export GUILE_AUTO_COMPILE=0
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
diff --git a/office/texmacs/texmacs.info b/office/texmacs/texmacs.info
index eb6259c791..d6f935225d 100644
--- a/office/texmacs/texmacs.info
+++ b/office/texmacs/texmacs.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.0.7.21-src.
MD5SUM="a56e2f14761e9003471fd26d91058ef0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="guile1.8"
MAINTAINER="Zhu Qun-Ying"
EMAIL="zhu.qunying@gmail.com"