summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlibreoffice/build/libreoffice.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/libreoffice/build/libreoffice.SlackBuild b/libreoffice/build/libreoffice.SlackBuild
index 84ac20b0..68315238 100755
--- a/libreoffice/build/libreoffice.SlackBuild
+++ b/libreoffice/build/libreoffice.SlackBuild
@@ -1915,6 +1915,11 @@ fi # End splitting off the mozplugin
mkdir -p $PKG/install
cat $SRCDIR/slack-desc > $PKG/install/slack-desc
cat $SRCDIR/slack-required > $PKG/install/slack-required
+if [ "$(cat /etc/os-release |grep VERSION_CODENAME |cut -d= -f2)" != "current" ]; then
+ # Only Slackware-current needs -compat packages:
+ sed -e '/^boost-compat$/d' -e '/^icu4c-compat$/d' \
+ -i $PKG/install/slack-required
+fi
# Build the package:
cd $PKG