summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkinori Hattori <hattya@gentoo.org>2021-10-18 22:16:17 +0900
committerAkinori Hattori <hattya@gentoo.org>2021-10-18 22:16:17 +0900
commit7abb7680facbd146756e450e58afad24b160f79b (patch)
tree45e5707b51c49662a9707e963854df393ad4d561 /app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch
parentapp-i18n/ibus-unikey: drop gtk2 USE flag (diff)
downloadgentoo-7abb7680facbd146756e450e58afad24b160f79b.tar.gz
gentoo-7abb7680facbd146756e450e58afad24b160f79b.tar.bz2
gentoo-7abb7680facbd146756e450e58afad24b160f79b.zip
app-i18n/ibus-unikey: fix build with sys-devel/slibtool
Closes: https://bugs.gentoo.org/783213 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch')
-rw-r--r--app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch b/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch
new file mode 100644
index 00000000000..02551ba608f
--- /dev/null
+++ b/app-i18n/ibus-unikey/files/ibus-unikey-slibtool.patch
@@ -0,0 +1,27 @@
+--- a/setup/Makefile.am
++++ b/setup/Makefile.am
+@@ -34,7 +34,8 @@
+
+ ibus_setup_unikey_LDFLAGS = \
+ @IBUS_LIBS@ \
+- @GTK_LIBS@ \
++ @GTK_LIBS@
++
++ibus_setup_unikey_LDADD = \
+ $(top_builddir)/ukengine/libunikey-ibus.la \
+ $(top_builddir)/src/ibus_engine_unikey-utils.o
+-
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -25,8 +25,9 @@
+
+ ibus_engine_unikey_LDFLAGS = \
+ @IBUS_LIBS@ \
+- @X11_LIBS@ \
+- $(top_builddir)/ukengine/libunikey-ibus.la
++ @X11_LIBS@
++
++ibus_engine_unikey_LDADD = $(top_builddir)/ukengine/libunikey-ibus.la
+
+ component_DATA = unikey.xml
+