From f1d29ae298ff465c9f0035ec83311b783b1972b9 Mon Sep 17 00:00:00 2001 From: thomas Date: Wed, 12 Sep 2018 16:06:25 +0200 Subject: [PATCH] antiword: Make makefile compatible for bee builds kantiword was a helper script for KDE desktop integration, no need for this. The install plan from the author was to use 'make global_install'. Not bad, but let bee's 'make install' succeed. --- antiword.be0 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/antiword.be0 b/antiword.be0 index d93dbd049..793e89e16 100755 --- a/antiword.be0 +++ b/antiword.be0 @@ -49,9 +49,12 @@ SRCURL[0]="http://www.winfield.demon.nl/linux/antiword-${PKGVERSION}.tar.gz" # bee_extract "${@}" #} -#mee_patch() { -# bee_patch "${@}" -#} +mee_patch() { + sed -i -e '/^\skantiword/ s/^\skantiword//' \ + -e '/^GLOBAL_INSTALL_DIR/ s,/local/,/,' \ + -e '/^install:/ s/install/home_install/' \ + -e '/^global_install:/ s/global_//' ${S}/Makefile.Linux +} #mee_configure() { # bee_configure