blob: 0729a9c77066f4e0a397451d8dd1605d60a2818f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
$NetBSD: patch-data_fonts_Makefile.in,v 1.3 2018/12/31 15:38:55 rhialto Exp $
Don't try to mess in ${HOME}.
Don't try mkfontdir (that is done at pkg_add time).
Don't use bdftopcf on Darwin.
--- data/fonts/Makefile.in.orig 2018-12-19 21:25:03.000000000 +0000
+++ data/fonts/Makefile.in
@@ -589,22 +589,10 @@ uninstall-am: uninstall-fontsDATA
install: install-data-am
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ @echo "Preparing fontdir, please wait..." ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ if [ ! `fc-cache --list > /dev/null 2>&1` ] ; then \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ if test "x${HOME}" != "x" ; then \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ mkdir ${HOME}/.fonts > /dev/null 2>&1 ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ cp $(fontsdir)/CBM.ttf ${HOME}/.fonts ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ fc-cache ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ else \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ echo '$$HOME not set... giving up.' ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ fi \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ else \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ echo 'fc-cache not available... giving up.' ; \
-@HAVE_FC_CACHE_TRUE@@SDL_COMPILE_FALSE@ fi
-@SDL_COMPILE_FALSE@ @echo "Preparing fontdir..." ; \
-@SDL_COMPILE_FALSE@ cd $(DESTDIR)$(fontsdir) ; \
-@SDL_COMPILE_FALSE@ bdftopcf -o vice-cbm.pcf vice-cbm.bdf ; \
-@SDL_COMPILE_FALSE@ ${MKFONTDIR_BIN} .
+@UNIX_MACOSX_COMPILE_FALSE@@SDL_COMPILE_FALSE@ @echo "Preparing fontdir..." ; \
+@UNIX_MACOSX_COMPILE_FALSE@@SDL_COMPILE_FALSE@ cd $(DESTDIR)$(fontsdir) ; \
+@UNIX_MACOSX_COMPILE_FALSE@@SDL_COMPILE_FALSE@ bdftopcf -o vice-cbm.pcf vice-cbm.bdf ; \
+@UNIX_MACOSX_COMPILE_FALSE@@SDL_COMPILE_FALSE@ ${MKFONTDIR_BIN} .
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
|