aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2016-08-01 17:32:29 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:53 +0100
commit50d600c53709d6456d6e0d412e0ce77ef71fa88b (patch)
tree7f7beba1943fc3f388129f21e66da1607b3d593f
parente12089d91bbd5f9d58bc87f5f1b0993304a524e1 (diff)
office/texmacs: Don't run stuff belonging to doinst.sh during make.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--office/texmacs/texmacs.SlackBuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild
index e3f86d5023e0a..8d609cd9d1e45 100644
--- a/office/texmacs/texmacs.SlackBuild
+++ b/office/texmacs/texmacs.SlackBuild
@@ -77,6 +77,15 @@ sed -i -e "s|libguile18.h|libguile.h|g" src/Scheme/Guile/guile_tm.hpp
export GUILE_AUTO_COMPILE=0
+# The build system tries to do things that should be done only when the
+# files of the package are already installed in the filesystem
+sed -i \
+ -e '/update-mime-database/d' \
+ -e '/update-desktop-database/d' \
+ -e '/gtk-update-icon-cache/d' \
+ -e '/gnome 2/d' \
+ Makefile.in
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \