openbsd-ports/x11/gtk+2/patches/patch-modules_input_Makefile_in
2007-12-05 14:32:18 +00:00

25 lines
1.1 KiB
Plaintext

$OpenBSD: patch-modules_input_Makefile_in,v 1.16 2007/12/05 14:32:19 steven Exp $
--- modules/input/Makefile.in.orig Mon Nov 26 20:44:21 2007
+++ modules/input/Makefile.in Sat Dec 1 18:51:34 2007
@@ -973,19 +973,13 @@ 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:
rm -f $(DESTDIR)$(sysconfdir)/gtk-2.0/gtk.immodules
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