openbsd-ports/devel/pango/patches/patch-modules_Makefile_in
ajacoutot 37ba8f67ae Update to pango-1.29.4: fix a crasher.
While here, move this port to use the gnome MODULE.
2011-09-28 15:29:48 +00:00

31 lines
1.4 KiB
Plaintext

$OpenBSD: patch-modules_Makefile_in,v 1.22 2011/09/28 15:29:48 ajacoutot Exp $
--- modules/Makefile.in.orig Wed Sep 28 16:50:18 2011
+++ modules/Makefile.in Wed Sep 28 17:16:42 2011
@@ -650,21 +650,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