summaryrefslogtreecommitdiff
path: root/textproc/kbanner/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/kbanner/patches/patch-aa')
-rw-r--r--textproc/kbanner/patches/patch-aa9
1 files changed, 4 insertions, 5 deletions
diff --git a/textproc/kbanner/patches/patch-aa b/textproc/kbanner/patches/patch-aa
index 63c1c1645f3..939f2e4ae7b 100644
--- a/textproc/kbanner/patches/patch-aa
+++ b/textproc/kbanner/patches/patch-aa
@@ -1,13 +1,12 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 21:33:08 joerg Exp $
--- Makefile.orig Fri Oct 15 14:19:54 1993
+++ Makefile Thu May 18 00:48:33 2000
-@@ -1,21 +1,21 @@
+@@ -1,21 +1,20 @@
SHELL = /bin/sh
-DESTDIR = /usr/local/bin
-MANUAL = /usr/local/man/man1/kbanner.1
-CFLAGS = -O -KEOPT -KBREG -KINF
-+DESTDIR = $(PREFIX)/bin
+MANUAL = $(PREFIX)/man/man1/kbanner.1
+#CFLAGS = -O -KEOPT -KBREG -KINF
OBJ = kbanner.o font1.o font2.o font3.o
@@ -29,5 +28,5 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/05/31 13:00:29 seb Exp $
install: kbanner
- cp kbanner $(DESTDIR)/
- cp kbanner.1 $(MANUAL)
-+ $(BSD_INSTALL_PROGRAM) kbanner $(DESTDIR)/
-+ $(BSD_INSTALL_MAN) kbanner.1 $(MANUAL)
++ $(BSD_INSTALL_PROGRAM) kbanner $(DESTDIR)${PREFIX}/bin
++ $(BSD_INSTALL_MAN) kbanner.1 ${DESTDIR}$(MANUAL)