aboutsummaryrefslogtreecommitdiffstats
path: root/russian
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-05-01 03:19:27 +0800
committersteve <steve@FreeBSD.org>2000-05-01 03:19:27 +0800
commit735344cd30a7997c54e5a3ad92b0cbd157cbe9f9 (patch)
tree607c37f8bf4a53258f4ed8d5463c6a9ee1b15766 /russian
parentcc3ee5b81a338d521fd21e308d6e38ac5697abfc (diff)
downloadfreebsd-ports-graphics-735344cd30a7997c54e5a3ad92b0cbd157cbe9f9.tar.gz
freebsd-ports-graphics-735344cd30a7997c54e5a3ad92b0cbd157cbe9f9.tar.zst
freebsd-ports-graphics-735344cd30a7997c54e5a3ad92b0cbd157cbe9f9.zip
Check for Fontmap.GS first and use is instead of Fontmap, if it is
present. PR: 17979 Submitted by: maintainer
Diffstat (limited to 'russian')
-rw-r--r--russian/koi8r-ps/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/russian/koi8r-ps/Makefile b/russian/koi8r-ps/Makefile
index 099da7aac07..89285fd0142 100644
--- a/russian/koi8r-ps/Makefile
+++ b/russian/koi8r-ps/Makefile
@@ -23,10 +23,11 @@ DIST_SUBDIR= koi8r-ps
FONTMAP!= if which gs > /dev/null 2>&1 ; then \
d=`gs -h | awk '/^Search path:$$/ { nl=1; next } \
nl { print $$3; exit }'`; \
- if [ -e $$d/Fontmap ] ; then \
- ${ECHO} $$d/Fontmap; \
+ if [ -e $$d/Fontmap.GS ] ; then \
+ ${ECHO} $$d/Fontmap.GS; \
+ elif [ -e $$d/Fontmap ] ; then \
+ ${ECHO} $$d/Fontmap \
else \
- logger $$d/Fontmap; \
${ECHO} /nicht/ ; \
fi; \
else \