void-packages/srcpkgs/sunpinyin/patches/libexecdir.patch

12 lines
410 B
Diff

--- a/wrapper/ibus/SConstruct
+++ b/wrapper/ibus/SConstruct
@@ -71,7 +71,7 @@ PassVariables(envvar, env)
data_dir = env['DATADIR'] + '/ibus-sunpinyin'
icons_dir = env['DATADIR'] + '/ibus-sunpinyin/icons'
-bin_dir = env['LIBEXECDIR'] + '/ibus-sunpinyin'
+bin_dir = env['LIBEXECDIR']
gettext_package = 'ibus-sunpinyin'
extra_cflags = ' -DIBUS_SUNPINYIN_LOCALEDIR=\'"%s"\'' % (env['DATADIR'] + '/locale')