aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-03-07 01:23:38 +0800
committersf <sf@FreeBSD.org>2001-03-07 01:23:38 +0800
commit47ba88edb4d7d281b03442e6eaf036930b11fa28 (patch)
tree9572da2fa2548a90bd55caf8eaf3425f30097892
parentba021072f123c9fa5aabad0cd88703f076370fdf (diff)
downloadfreebsd-ports-gnome-47ba88edb4d7d281b03442e6eaf036930b11fa28.tar.gz
freebsd-ports-gnome-47ba88edb4d7d281b03442e6eaf036930b11fa28.tar.zst
freebsd-ports-gnome-47ba88edb4d7d281b03442e6eaf036930b11fa28.zip
resolve problem with XFree86-4.0.2.
PR: 25559 Submitted by: maintainer
-rw-r--r--x11/x3270/files/patch-aa19
1 files changed, 17 insertions, 2 deletions
diff --git a/x11/x3270/files/patch-aa b/x11/x3270/files/patch-aa
index 9d7d71a4a057..c12134f10f12 100644
--- a/x11/x3270/files/patch-aa
+++ b/x11/x3270/files/patch-aa
@@ -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
+