openbsd-ports/devel/pango/patches/patch-modules_Makefile_in
jasper 869643ec60 - update pango to 1.22.3
ok ajacoutot@
2008-12-04 15:05:38 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.15 2008/12/04 15:05:38 jasper Exp $
--- modules/Makefile.in.orig Sun Nov 23 15:07:01 2008
+++ modules/Makefile.in Thu Dec 4 15:32:23 2008
@@ -557,21 +557,11 @@ uninstall-am: uninstall-local
@CROSS_COMPILING_FALSE@all-local: pango.modules
install-data-local: $(top_builddir)/pango/pango-querymodules$(EXEEXT)
- @if $(RUN_QUERY_MODULES_TEST) && test -z "$(DESTDIR)" ; then \
- echo $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango \&\& \
- $(top_builddir)/pango/pango-querymodules$(EXEEXT) \
- \> $(DESTDIR)$(sysconfdir)/pango/pango.modules ; \
- $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/pango && \
- $(top_builddir)/pango/pango-querymodules$(EXEEXT) \
- > $(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