summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e3f86d5023..8d609cd9d1 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 \