mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
sci-chemistry/gnome-chemistry-utils: fix underlinking w/ slibtool
Closes: https://bugs.gentoo.org/913669 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43980 Closes: https://github.com/gentoo/gentoo/pull/43980 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
parent
69c1a6b26c
commit
d761e927eb
@ -0,0 +1,30 @@
|
||||
https://bugs.gentoo.org/913669
|
||||
fix underlinking with slibtool
|
||||
--- a/plugins/loaders/cdx/Makefile.am
|
||||
+++ b/plugins/loaders/cdx/Makefile.am
|
||||
@@ -18,8 +18,9 @@ gcu_loader_cdx_LTLIBRARIES = cdx.la
|
||||
cdx_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
cdx_la_LIBADD = \
|
||||
- $(gsf_LIBS) \
|
||||
- $(top_builddir)/libs/gcu/libgcu-@GCU_API_VER@.la
|
||||
+ $(gtk_LIBS) $(gsf_LIBS) \
|
||||
+ $(top_builddir)/libs/gcu/libgcu-@GCU_API_VER@.la \
|
||||
+ $(top_builddir)/libs/gcp/libgcp-@GCU_API_VER@.la
|
||||
|
||||
cdx_la_SOURCES = \
|
||||
cdx.cc
|
||||
--- a/plugins/loaders/cdxml/Makefile.am
|
||||
+++ b/plugins/loaders/cdxml/Makefile.am
|
||||
@@ -17,8 +17,9 @@ gcu_loader_cdxml_LTLIBRARIES = cdxml.la
|
||||
cdxml_la_LDFLAGS = -module -avoid-version -no-undefined
|
||||
|
||||
cdxml_la_LIBADD = \
|
||||
- $(gsf_LIBS) $(goffice_LIBS) \
|
||||
- $(top_builddir)/libs/gcu/libgcu-@GCU_API_VER@.la
|
||||
+ $(gtk_LIBS) $(gsf_LIBS) $(goffice_LIBS) \
|
||||
+ $(top_builddir)/libs/gcu/libgcu-@GCU_API_VER@.la \
|
||||
+ $(top_builddir)/libs/gcp/libgcp-@GCU_API_VER@.la
|
||||
|
||||
cdxml_la_SOURCES = \
|
||||
cdxml.cc
|
||||
@ -61,6 +61,9 @@ src_prepare() {
|
||||
# Disable tests for manpages
|
||||
eapply "${FILESDIR}"/${PN}-disable_tests_man.patch
|
||||
|
||||
# bug 913669 fix underlinking with slibtool
|
||||
eapply "${FILESDIR}"/${PN}-fix_underlinking.patch
|
||||
|
||||
sed -e "s:pkg-config:$(tc-getPKG_CONFIG):g" \
|
||||
-i configure.ac || die
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user