You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/cmatrix/files/cmatrix-1.2a-fontdir.patch

29 lines
1.8 KiB

diff -Naru cmatrix-1.2a.orig/Makefile.am cmatrix-1.2a/Makefile.am
--- cmatrix-1.2a.orig/Makefile.am 2008-12-24 02:37:43.000000000 +0000
+++ cmatrix-1.2a/Makefile.am 2008-12-24 02:50:08.000000000 +0000
@@ -18,20 +18,9 @@
$(INSTALL_DATA) $(srcdir)/matrix.fnt $(DESTDIR)/usr/lib/kbd/consolefonts; \
$(INSTALL_DATA) $(srcdir)/matrix.psf.gz $(DESTDIR)/usr/lib/kbd/consolefonts; \
fi
- @if test -d /usr/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/lib/X11/fonts/misc; \
- echo " Running mkfontdir $(DESTDIR)/usr/lib/X11/fonts/misc..."; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
+ @if test -d /usr/share/fonts/misc; then \
+ echo " Installing X window matrix fonts in $(DESTDIR)/usr/share/fonts/misc..."; \
+ $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/share/fonts/misc; \
+ echo " If this is the first time you have installed CMatrix you will"; \
echo " probably have to restart X window in order to use the mtx.pcf font."; \
- else \
- if test -d /usr/X11R6/lib/X11/fonts/misc; then \
- echo " Installing X window matrix fonts in $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
- $(INSTALL_DATA) $(srcdir)/mtx.pcf $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc; \
- echo " Running mkfontdir $(DESTDIR)/usr/X11R6/lib/X11/fonts/misc..."; \
- echo " Done. If this is the first time you have installed CMatrix you will"; \
- echo " probably have to restart X window in order to use the mtx.pcf font."; \
- fi \
fi