resolve problem with XFree86-4.0.2.

PR:		25559
Submitted by:	maintainer
This commit is contained in:
FUJISHIMA Satsuki 2001-03-06 17:23:38 +00:00
parent d21ba280e1
commit 1b8dc801cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39144

View File

@ -1,5 +1,5 @@
--- ./Imakefile.org Thu Feb 13 14:04:51 1997
+++ ./Imakefile Mon Nov 16 19:11:53 1998
--- Imakefile.orig Thu Feb 13 23:04:51 1997
+++ Imakefile Wed Feb 28 00:15:00 2001
@@ -24,7 +24,7 @@
FontObj(3270gt24) FontObj(3270gt24b) \
FontObj(3270gt32) FontObj(3270gt32b)
@ -9,3 +9,18 @@
LIBX3270DIR = $(LIBDIR)/x3270
HOSTSFILE = ibm_hosts
@@ -104,7 +104,13 @@
install:: $(DESTDIR)$(FONTINSTDIR)/fonts.dir
$(DESTDIR)$(FONTINSTDIR)/fonts.dir::
-chmod u+w $(DESTDIR)$(FONTINSTDIR) $(DESTDIR)$(FONTINSTDIR)/fonts.dir
- $(BINDIR)/$(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR)
+ if [ -x $(BINDIR)/$(MKFONTDIR) ]; then \
+ $(BINDIR)/$(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR); \
+ elif [ -x $(MKFONTDIR) ]; then \
+ $(MKFONTDIR) $(DESTDIR)$(FONTINSTDIR); \
+ else \
+ echo "*** mkfontdir not found -- please run manually ***"; \
+ fi
chmod u=rwx,go=rx $(DESTDIR)$(FONTINSTDIR)
chmod a=r $(DESTDIR)$(FONTINSTDIR)/fonts.dir