summaryrefslogtreecommitdiffstats
path: root/textproc/ibus/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-17 15:36:32 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-06-17 15:36:32 +0800
commit83fe6ebf2cb983e46f7ffd13d503ef938ce28780 (patch)
tree5b8d479f7da0b29268d688199d8e30798a833e4e /textproc/ibus/Makefile
parentbf43eda91a534031546fd3faba9cd8ab69515bb2 (diff)
downloadmarcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar.gz
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar.bz2
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar.lz
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar.xz
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.tar.zst
marcuscom-ports-83fe6ebf2cb983e46f7ffd13d503ef938ce28780.zip
Fix build on 9.x and 8.x. Our old gcc can't grok some things.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18538 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/ibus/Makefile')
-rw-r--r--textproc/ibus/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/ibus/Makefile b/textproc/ibus/Makefile
index 705721cf3..4b81a3ecd 100644
--- a/textproc/ibus/Makefile
+++ b/textproc/ibus/Makefile
@@ -87,6 +87,9 @@ post-patch:
# @${REINPLACE_CMD} -e 's|import locale|import gettext|g' ${WRKSRC}/ui/gtk/main.py
@${REINPLACE_CMD} -e 's|setpgrp ()|setpgrp (0,0)|g' ${WRKSRC}/bus/main.c
@${REINPLACE_CMD} -e 's|/var/lib/dbus|/var/db/dbus|g' ${WRKSRC}/src/ibusshare.c #devel/dbus/files/dbus.in
+ @${REINPLACE_CMD} -e 's|-Wno-unused-but-set-variable||g' \
+ ${WRKSRC}/engine/Makefile.in ${WRKSRC}/tools/Makefile.in \
+ ${WRKSRC}/ui/gtk3/Makefile.in
post-install:
@${MKDIR} ${PREFIX}/etc/xdg/autostart