openbsd-ports/devel/pango/patches/patch-modules_Makefile_in

31 lines
1.2 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.7 2005/05/24 21:27:29 marcm Exp $
--- modules/Makefile.in.orig Fri Mar 4 12:08:21 2005
+++ modules/Makefile.in Wed Mar 30 21:02:53 2005
@@ -543,21 +543,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 \