aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-03-24 16:04:57 +0100
committerErik Hanson <erik@slackbuilds.org>2014-04-12 13:58:47 -0500
commit2c4d6bad0e9fbfc07b524b63a517ecff5659443d (patch)
treea1d455cd2aab0b3a0e8fcfe68949ccb41ce6ff4c /office
parenta211ff3cc9b2988894eec687a391d84568fe8b52 (diff)
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 04a1c45c38c8c..a5df00b5b2852 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 eb6259c7916ef..d6f935225dc22 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"