summaryrefslogtreecommitdiff
path: root/russian/koi8r-ps
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-30 19:19:27 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-30 19:19:27 +0000
commitf1b3c7f48eeb357d034b1879ddec9fccd7482d73 (patch)
tree0516a81e312b47a98d149c06c0b5f0e74844040a /russian/koi8r-ps
parentUpdate to version 3.3.3. (diff)
Check for Fontmap.GS first and use is instead of Fontmap, if it is
present. PR: 17979 Submitted by: maintainer
Diffstat (limited to 'russian/koi8r-ps')
-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 099da7aac077..89285fd01423 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 \