Files
pkgsrc-ng/devel/glib2/patches/patch-cd
2016-11-18 22:39:22 +01:00

42 lines
1.5 KiB
Plaintext

$NetBSD: patch-cd,v 1.9 2016/04/07 18:33:05 prlw1 Exp $
sysutils/gio-fam builds the gio/fam backend as a separate module. Force it
to link against the installed version of glib2, as it is not rebuilt by the
package.
--- gio/fam/Makefile.in.orig 2016-02-16 11:35:28.000000000 +0000
+++ gio/fam/Makefile.in
@@ -183,10 +183,7 @@ am__installdirs = "$(DESTDIR)$(giomodule
LTLIBRARIES = $(giomodule_LTLIBRARIES) $(installed_test_LTLIBRARIES) \
$(noinst_LTLIBRARIES)
am__DEPENDENCIES_1 =
-libgiofam_la_DEPENDENCIES = $(top_builddir)/gio/libgio-2.0.la \
- $(top_builddir)/gobject/libgobject-2.0.la \
- $(top_builddir)/glib/libglib-2.0.la $(am__DEPENDENCIES_1) \
- $(am__DEPENDENCIES_1)
+libgiofam_la_DEPENDENCIES = $(am__DEPENDENCIES_1)
am_libgiofam_la_OBJECTS = libgiofam_la-gfamfilemonitor.lo
libgiofam_la_OBJECTS = $(am_libgiofam_la_OBJECTS)
AM_V_lt = $(am__v_lt_@AM_V@)
@@ -789,9 +786,7 @@ libgiofam_la_CFLAGS = \
libgiofam_la_LDFLAGS = $(module_flags)
libgiofam_la_LIBADD = \
- $(top_builddir)/gio/libgio-2.0.la \
- $(top_builddir)/gobject/libgobject-2.0.la \
- $(top_builddir)/glib/libglib-2.0.la \
+ $$(pkg-config --libs gio-2.0 gobject-2.0 glib-2.0) \
$(GLIB_LIBS) \
$(FAM_LIBS) \
$(NULL)
@@ -1559,9 +1554,6 @@ check-local: test-nonrecursive
@ENABLE_INSTALLED_TESTS_TRUE@ mv $@.tmp $@)
install-data-hook:
- if $(RUN_QUERY_MODULES) && test -z "$(DESTDIR)" ; then \
- $(top_builddir)/gio/gio-querymodules$(EXEEXT) $(DESTDIR)$(GIO_MODULE_DIR) ; \
- fi
uninstall-local:
$(RM) $(DESTDIR)$(GIO_MODULE_DIR)/giomodule.cache