summaryrefslogtreecommitdiff
path: root/misc/figlet/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'misc/figlet/patches/patch-aa')
-rw-r--r--misc/figlet/patches/patch-aa34
1 files changed, 14 insertions, 20 deletions
diff --git a/misc/figlet/patches/patch-aa b/misc/figlet/patches/patch-aa
index 16578e03520..019bd0685cb 100644
--- a/misc/figlet/patches/patch-aa
+++ b/misc/figlet/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.3 2001/04/27 10:06:13 abs Exp $
+$NetBSD: patch-aa,v 1.4 2002/07/19 08:00:48 agc Exp $
---- Makefile.orig Tue Feb 18 23:02:28 1997
-+++ Makefile
-@@ -10,18 +10,18 @@
+--- Makefile.orig Sat Jul 13 11:24:16 2002
++++ Makefile Fri Jul 19 08:54:54 2002
+@@ -12,18 +12,18 @@
# for changing this is if sh is not in the same place.
SHELL = /bin/sh
CC = gcc
@@ -10,31 +10,25 @@ $NetBSD: patch-aa,v 1.3 2001/04/27 10:06:13 abs Exp $
+#CFLAGS = -g
# Where the executables should be put
--DESTDIR = /usr/games
-+DESTDIR = $(PREFIX)/bin
+-DESTDIR = /usr/local/bin
++DESTDIR = ${PREFIX}/bin
# Where the man page should be put
--MANDIR = /usr/man/man6
-+MANDIR = $(PREFIX)/man/man6
+-MANDIR = /usr/local/man/man6
++MANDIR = ${PREFIX}/man/man6
# Where figlet will search first for fonts (the ".flf" files).
--DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir
-+#DEFAULTFONTDIR = $(DESTDIR)/lib/figlet.dir
- # Use this definition if you can't put things in /usr/games
+-DEFAULTFONTDIR = /usr/local/share/figlet
++DEFAULTFONTDIR = ${PREFIX}/share/figlet
+ # Use this definition if you can't put things in /usr/local/share/figlet
-DEFAULTFONTDIR = fonts
-+DEFAULTFONTDIR = $(PREFIX)/share/figlet
++#DEFAULTFONTDIR = fonts
# The filename of the font to be used if no other is specified
# (standard.flf is recommended, but any other can be used).
-@@ -50,9 +50,12 @@
- rm -f *.o figlet chkfont
-
- install: figlet chkfont
-- mkdir $(DEFAULTFONTDIR)
-+ mkdir -p $(DEFAULTFONTDIR)
-+ strip figlet
+@@ -55,6 +55,7 @@
+ mkdir -p $(DEFAULTFONTDIR)
cp figlet $(DESTDIR)
-+ strip chkfont
cp chkfont $(DESTDIR)
+ chmod 555 figlist showfigfonts
cp figlist $(DESTDIR)