openbsd-ports/devel/pango/patches/patch-modules_Makefile_in
2006-05-22 01:41:52 +00:00

31 lines
1.3 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.10 2006/05/22 01:41:52 brad Exp $
--- modules/Makefile.in.orig Fri Apr 7 00:33:55 2006
+++ modules/Makefile.in Wed May 10 18:49:30 2006
@@ -604,21 +604,11 @@ uninstall-info: uninstall-info-recursive
@CROSS_COMPILING_FALSE@all-local: pango.modules
install-data-local: $(top_builddir)/pango/pango-querymodules
- @if $(RUN_QUERY_MODULES_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: $(sysconfdir)/pango/pango.modules" ; \
- echo "*** not created" ; \
- echo "*** Generate this file on the target system" ; \
- echo "*** 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
uninstall-local:
$(RM) $(DESTDIR)$(sysconfdir)/pango/pango.modules