9aba313eba
wrong. These are generated files that should be updated automagically by ports whenever GDK loaders or GTK immodules respectivly are added. As such, these files shouldn't live under /etc but under /var/db... and they should be generated on package install instead of through funky sed magic in the Makefile. So now they are. :) Oh and regen the PLIST, since, we're hacking the crap out of it anyway.
29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
$OpenBSD: patch-modules_input_Makefile_in,v 1.6 2003/12/08 06:08:43 marcm Exp $
|
|
--- modules/input/Makefile.in.orig 2003-09-04 10:18:53.000000000 -0700
|
|
+++ modules/input/Makefile.in 2003-12-07 10:54:33.000000000 -0800
|
|
@@ -841,22 +841,10 @@ maintainer-clean-generic clean mostlycle
|
|
# Running this if cross compiling or if DESTDIR is set is going to
|
|
# not work at all, so skip it.
|
|
install-data-local:
|
|
- @if $(RUN_QUERY_IMMODULES_TEST) ; then \
|
|
- echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
|
|
- $(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
|
|
|
|
gtk.immodules: Makefile.am $(module_LTLIBRARIES)
|
|
- $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules
|
|
+ LD_LIBRARY_PATH=$(top_builddir)/gdk-pixbuf/.libs/:$(top_builddir)/gdk/.libs/:$(top_builddir)/gtk/.libs/ \
|
|
+ $(top_builddir)/gtk/gtk-query-immodules-2.0 *.la > gtk.immodules
|
|
|
|
@CROSS_COMPILING_FALSE@all-local: gtk.immodules
|
|
|