From 50d600c53709d6456d6e0d412e0ce77ef71fa88b Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 1 Aug 2016 17:32:29 +0200 Subject: office/texmacs: Don't run stuff belonging to doinst.sh during make. Signed-off-by: Matteo Bernardini --- office/texmacs/texmacs.SlackBuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'office') 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 \ -- cgit v1.2.3-65-gdbad