openbsd-ports/devel/pango/patches/patch-modules_Makefile_in
ajacoutot 90537c8945 Update to pango-1.29.3.
ok jasper@ robert@
2011-09-20 21:11:27 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.21 2011/09/20 21:11:27 ajacoutot Exp $
--- modules/Makefile.in.orig Thu Jun 16 21:17:39 2011
+++ modules/Makefile.in Tue Sep 20 10:29:35 2011
@@ -648,21 +648,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