openbsd-ports/x11/gtk+2/patches/patch-gdk-pixbuf_Makefile_in
2009-12-01 09:41:14 +00:00

36 lines
2.0 KiB
Plaintext

$OpenBSD: patch-gdk-pixbuf_Makefile_in,v 1.24 2009/12/01 09:41:14 ajacoutot Exp $
--- gdk-pixbuf/Makefile.in.orig Tue Dec 1 05:08:44 2009
+++ gdk-pixbuf/Makefile.in Tue Dec 1 09:37:09 2009
@@ -1326,7 +1326,7 @@ test_gdk_pixbuf_LDADD = $(LDADDS)
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
#
@@ -2333,13 +2333,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
uninstall-local: uninstall-ms-lib uninstall-def-file
@@ -2351,7 +2344,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; \