Skip to content

Commit

Permalink
app-i18n/libkkc: fix link with gold
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/746482
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <[email protected]>
  • Loading branch information
hattya committed Oct 9, 2021
1 parent 771f8de commit 2ca8942
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
23 changes: 23 additions & 0 deletions app-i18n/libkkc/files/libkkc-marisa-glib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
--- a/libkkc/Makefile.am
+++ b/libkkc/Makefile.am
@@ -49,7 +49,11 @@
-DLOCALEDIR=\"$(datadir)/locale\" \
-I $(top_srcdir) \
$(NULL)
-libkkc_la_LIBADD = $(LIBKKC_LIBS) $(top_builddir)/marisa-glib/libmarisa-glib.la
+libkkc_la_LIBADD = \
+ $(LIBKKC_LIBS) \
+ $(top_builddir)/marisa-glib/libmarisa-glib.la \
+ $(MARISA_GLIB_STATIC_DEPENDENCIES) \
+ $(NULL)
libkkc_la_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS) \
-version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" \
@@ -66,7 +70,6 @@
libkkc_internals_la_LIBADD = \
$(libkkc_la_LIBADD) \
$(libkkc_la_OBJECTS) \
- $(MARISA_GLIB_STATIC_DEPENDENCIES) \
$(NULL)
libkkc_internals_la_LDFLAGS = \
$(CODE_COVERAGE_LDFLAGS) \
2 changes: 2 additions & 0 deletions app-i18n/libkkc/libkkc-0.3.6_pre20190809104047.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ BDEPEND="$(python_gen_any_dep 'dev-libs/marisa[python,${PYTHON_USEDEP}]')
virtual/pkgconfig
nls? ( sys-devel/gettext )"

PATCHES=( "${FILESDIR}"/${PN}-marisa-glib.patch )

python_check_deps() {
has_version -b "dev-libs/marisa[python,${PYTHON_USEDEP}]"
}
Expand Down
2 changes: 2 additions & 0 deletions app-i18n/libkkc/libkkc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ BDEPEND="$(python_gen_any_dep 'dev-libs/marisa[python,${PYTHON_USEDEP}]')
virtual/pkgconfig
nls? ( sys-devel/gettext )"

PATCHES=( "${FILESDIR}"/${PN}-marisa-glib.patch )

python_check_deps() {
has_version -b "dev-libs/marisa[python,${PYTHON_USEDEP}]"
}
Expand Down

0 comments on commit 2ca8942

Please sign in to comment.