diff options
author | Eric Hameleers <alien@slackware.com> | 2023-06-15 19:14:31 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-06-15 19:14:31 +0000 |
commit | d7cbc14e6d0378ab1d9e1d386dac10a219a8bbf0 (patch) | |
tree | d371b6ab244befb6e610c706f49cb317cb9a9ccb | |
parent | 40968866749cbc7160bcbb1fe2ea37115552ad6d (diff) | |
download | asb-d7cbc14e6d0378ab1d9e1d386dac10a219a8bbf0.tar.gz asb-d7cbc14e6d0378ab1d9e1d386dac10a219a8bbf0.tar.xz |
libreoffice: the -compat dependencies are only relevant on Slackware-current
-rwxr-xr-x | libreoffice/build/libreoffice.SlackBuild | 5 |
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 |