summaryrefslogtreecommitdiff
path: root/misc/ibus-pinyin/ibus-pinyin.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ibus-pinyin/ibus-pinyin.SlackBuild')
-rw-r--r--misc/ibus-pinyin/ibus-pinyin.SlackBuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/misc/ibus-pinyin/ibus-pinyin.SlackBuild b/misc/ibus-pinyin/ibus-pinyin.SlackBuild
index 584cd8f7ec..0cb22413a5 100644
--- a/misc/ibus-pinyin/ibus-pinyin.SlackBuild
+++ b/misc/ibus-pinyin/ibus-pinyin.SlackBuild
@@ -59,6 +59,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix "configure: error: invalid value: boost_major_version="
+# wget http://github.com/tsuna/boost.m4/raw/master/build-aux/boost.m4
+zcat $CWD/boost.m4.gz > m4/boost.m4
+autoreconf -vif
+
+sed -i -e 's/ibus-1.0 >= 1.3.99/ibus-1.0 >= 1.3.9/' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \