summaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig/files/patch-Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/fontconfig/files/patch-Makefile.in')
-rw-r--r--x11-fonts/fontconfig/files/patch-Makefile.in31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/files/patch-Makefile.in b/x11-fonts/fontconfig/files/patch-Makefile.in
new file mode 100644
index 000000000..8c8b6784e
--- /dev/null
+++ b/x11-fonts/fontconfig/files/patch-Makefile.in
@@ -0,0 +1,31 @@
+--- Makefile.in.orig 2012-11-01 10:55:40.000000000 +0000
++++ Makefile.in 2012-11-01 10:56:37.000000000 +0000
+@@ -932,28 +932,6 @@
+ mv $@.tmp $@
+
+ install-data-local: fonts.conf
+- $(mkinstalldirs) $(DESTDIR)$(baseconfigdir) $(DESTDIR)$(fc_cachedir)
+- if [ -f $(DESTDIR)$(baseconfigdir)/fonts.conf ]; then \
+- echo "backing up existing $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
+- mv $(DESTDIR)$(baseconfigdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf.bak; \
+- fi
+- if [ -f $(srcdir)/fonts.conf ]; then \
+- echo " $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
+- $(INSTALL_DATA) $(srcdir)/fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+- else if [ -f fonts.conf ]; then \
+- echo " $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf"; \
+- $(INSTALL_DATA) fonts.conf $(DESTDIR)$(baseconfigdir)/fonts.conf; \
+- fi; fi
+- @(if $(RUN_FC_CACHE_TEST); then \
+- echo "fc-cache$(EXEEXT) -s -f -v"; \
+- fc-cache/fc-cache$(EXEEXT) -s -f -v; \
+- else \
+- echo "***"; \
+- echo "*** Warning: fonts.cache not built"; \
+- echo "***"; \
+- echo "*** Generate this file manually on host system using fc-cache"; \
+- echo "***"; \
+- fi)
+
+ uninstall-local:
+ if [ -f $(srcdir)/fonts.conf ]; then \