openbsd-ports/x11/gtk+2/patches/patch-gdk-pixbuf_Makefile_in

36 lines
1.9 KiB
Plaintext
Raw Normal View History

2009-01-11 12:04:47 -05:00
$OpenBSD: patch-gdk-pixbuf_Makefile_in,v 1.21 2009/01/11 17:04:47 ajacoutot Exp $
--- gdk-pixbuf/Makefile.in.orig Wed Jan 7 22:52:05 2009
+++ gdk-pixbuf/Makefile.in Fri Jan 9 13:28:02 2009
@@ -852,7 +852,7 @@ gdk_pixbuf_csource_SOURCES = gdk-pixbuf-csource.c
gdk_pixbuf_csource_LDADD = $(LDADDS)
gdk_pixbuf_query_loaders_DEPENDENCIES = $(DEPS)
-gdk_pixbuf_query_loaders_LDADD = $(LDADDS)
+gdk_pixbuf_query_loaders_LDADD = $(LDADDS) -pthread
gdk_pixbuf_query_loaders_SOURCES = queryloaders.c
2009-01-11 12:04:47 -05:00
@@ -2239,13 +2239,6 @@ install-data-hook: install-ms-lib install-def-file
@if $(RUN_QUERY_LOADER_TEST) ; then \
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
$(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders > $(DESTDIR)$(sysconfdir)/gtk-2.0/gdk-pixbuf.loaders ; \
- else \
- echo "***" ; \
- echo "*** Warning: gdk-pixbuf.loaders not built" ; \
- echo "***" ; \
- echo "*** Generate this file manually on host" ; \
- echo "*** system using gdk-pixbuf-query-loaders" ; \
- echo "***" ; \
fi
2006-05-21 21:49:07 -04:00
uninstall-local: uninstall-ms-lib uninstall-def-file
2009-01-11 12:04:47 -05:00
@@ -2257,7 +2250,7 @@ uninstall-local: uninstall-ms-lib uninstall-def-file
@BUILD_DYNAMIC_MODULES_TRUE@ LOADERS=`echo libpixbufloader-*.la` ; \
@BUILD_DYNAMIC_MODULES_TRUE@ if test "x$$LOADERS" != 'xlibpixbufloader-*.la' ; then \
@BUILD_DYNAMIC_MODULES_TRUE@ echo "Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf."; \
-@BUILD_DYNAMIC_MODULES_TRUE@ $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders $$LOADERS > ./gdk-pixbuf.loaders ;\
+@BUILD_DYNAMIC_MODULES_TRUE@ LD_LIBRARY_PATH=$(top_builddir)/gdk-pixbuf/.libs $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders $$LOADERS > ./gdk-pixbuf.loaders ;\
@BUILD_DYNAMIC_MODULES_TRUE@ else \
@BUILD_DYNAMIC_MODULES_TRUE@ echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
@BUILD_DYNAMIC_MODULES_TRUE@ touch gdk-pixbuf.loaders; \