openbsd-ports/devel/pango/patches/patch-modules_Makefile_in
marcm 014548031a Update to gtk+ 2.4.3 and friends.
Note: this will cause breakage in ports that set the various
*_DISABLE_DEPRECATED defines for gtk.  These weill be addressed
shortly.

ok pvalchev@
2004-06-22 03:15:02 +00:00

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.6 2004/06/22 03:15:03 marcm Exp $
--- modules/Makefile.in.orig 2004-03-16 10:11:07.000000000 -0800
+++ modules/Makefile.in 2004-03-30 22:05:41.000000000 -0800
@@ -539,21 +539,11 @@ uninstall-info: uninstall-info-recursive
install-data-local:
- @if $(RUN_QUERY_IMMODULES_TEST) ; then \
- echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango \&\& \
- $(top_builddir)/pango/pango-querymodules \
- \> $(DESTDIR)$(sysconfdir)/pango/pango.modules ; \
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango && \
- $(top_builddir)/pango/pango-querymodules \
- > $(DESTDIR)$(sysconfdir)/pango/pango.modules ; \
- else \
- echo "***" ; \
- echo "*** Warning: pango.modules not created" ; \
- echo "***" ; \
- echo "*** Generate this file on the target system" ; \
- echo "*** system using pango-querymodules" ; \
- echo "***" ; \
- fi
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango && \
+ LD_LIBRARY_PATH=$(top_builddir)/pango/.libs \
+ $(top_builddir)/pango/pango-querymodules \
+ `find $(DESTDIR)$(moduledir) -name '*.so'` | sed 's,$(DESTDIR),,' \
+ > $(DESTDIR)$(sysconfdir)/pango/pango.modules
included-modules:
@for d in $(SUBDIRS) ; do \