openbsd-ports/x11/gtk+2/patches/patch-modules_input_Makefile_in

26 lines
1.1 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-modules_input_Makefile_in,v 1.18 2008/11/18 12:36:49 landry Exp $
--- modules/input/Makefile.in.orig Wed Sep 24 05:11:41 2008
+++ modules/input/Makefile.in Sun Oct 19 20:05:54 2008
@@ -1336,13 +1336,6 @@ install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
echo "$(top_builddir)/gtk/gtk-query-immodules-2.0 > $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules" ; \
$(top_builddir)/gtk/gtk-query-immodules-2.0 > $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules ; \
- else \
- echo "***" ; \
- echo "*** Warning: gtk.immodules not built" ; \
- echo "***" ; \
- echo "*** Generate this file manually on host" ; \
- echo "*** system using gtk-query-immodules-2.0" ; \
- echo "***" ; \
fi
uninstall-local:
@@ -1351,6 +1344,7 @@ uninstall-local:
included-modules: $(noinst_LTLIBRARIES)
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
+ LD_LIBRARY_PATH=$(top_builddir)/gdk-pixbuf/.libs/:$(top_builddir)/gdk/.libs/:$(top_builddir)/gtk/.libs/ \
$(top_builddir)/gtk/gtk-query-immodules-2.0 $(module_LTLIBRARIES) > gtk.immodules
@CROSS_COMPILING_FALSE@all-local: gtk.immodules