summaryrefslogtreecommitdiff
path: root/print/mpage
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-12-27 23:50:07 +0000
committerreed <reed@pkgsrc.org>2005-12-27 23:50:07 +0000
commit1217834b73833cf40b6764ed73feaaca93f83ab6 (patch)
treeaf0dc30f0806036005301b618fefb079bc2f4e9b /print/mpage
parent422a760b27f8f0083f7cdb130d414972b44e391c (diff)
downloadpkgsrc-1217834b73833cf40b6764ed73feaaca93f83ab6.tar.gz
Update the patch for the makefile so it will use PKGMANDIR.
Diffstat (limited to 'print/mpage')
-rw-r--r--print/mpage/distinfo4
-rw-r--r--print/mpage/patches/patch-aa16
2 files changed, 11 insertions, 9 deletions
diff --git a/print/mpage/distinfo b/print/mpage/distinfo
index 1c6950747a3..9713e24b556 100644
--- a/print/mpage/distinfo
+++ b/print/mpage/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 12:51:44 agc Exp $
+$NetBSD: distinfo,v 1.5 2005/12/27 23:50:07 reed Exp $
SHA1 (mpage-2.5.tgz) = 84253fe3551b37ca857e487a93cca7532608ed29
RMD160 (mpage-2.5.tgz) = cf035f5f3c8fbe9ad448e94ab3f3f6d3811b5bc5
Size (mpage-2.5.tgz) = 59386 bytes
-SHA1 (patch-aa) = aaf640f11ac2a48d021cc868854b067c3dd20e7d
+SHA1 (patch-aa) = 6c704d0621356936a9bcc1b1a13c179def078d47
diff --git a/print/mpage/patches/patch-aa b/print/mpage/patches/patch-aa
index d63a7ba81ca..8e56fafe83d 100644
--- a/print/mpage/patches/patch-aa
+++ b/print/mpage/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2002/02/16 01:21:53 wiz Exp $
+$NetBSD: patch-aa,v 1.5 2005/12/27 23:50:07 reed Exp $
---- Makefile.orig Wed Nov 26 00:16:06 1997
+--- Makefile.orig 1997-11-25 15:16:06.000000000 -0800
+++ Makefile
@@ -30,7 +30,6 @@
# Set this to an ANSI compatible C compiler (preferably gcc)
@@ -10,7 +10,7 @@ $NetBSD: patch-aa,v 1.4 2002/02/16 01:21:53 wiz Exp $
############################################################################
#
-@@ -45,7 +44,7 @@
+@@ -45,7 +44,7 @@ CC=gcc
# PAGE_A4 for European A4
#
# PAGESIZE=PAGE_LETTER
@@ -19,18 +19,20 @@ $NetBSD: patch-aa,v 1.4 2002/02/16 01:21:53 wiz Exp $
#
# Define your spooler type
-@@ -55,9 +54,8 @@
+@@ -55,10 +54,9 @@ PAGESIZE=PAGE_A4
SPOOL_TYPE=BSD_SPOOLER
# PREFIX=e:/usr # OS/2 type
-PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
-LIBDIR=$(PREFIX)/lib
+-MANDIR=$(PREFIX)/man/man1
+LIBDIR=$(PREFIX)/share
- MANDIR=$(PREFIX)/man/man1
++MANDIR=$(PREFIX)/${PKGMANDIR}/man1
#
-@@ -110,8 +108,8 @@
+ # A default encoding is given in encoding.h. Setting ENCODING=1 will
+@@ -110,8 +108,8 @@ DEF_FILE =
# Choose one of the following CFLAGS/CC definitions:
# If you are using gcc, you probably don't need to change anything here.
@@ -41,7 +43,7 @@ $NetBSD: patch-aa,v 1.4 2002/02/16 01:21:53 wiz Exp $
# AIX (xlC on aix 4):
#CFLAGS = -O2 -s $(DEFS)
-@@ -168,10 +166,10 @@
+@@ -168,10 +166,10 @@ mpage.ps: mpage.1
#