summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-02-28 18:14:09 +0000
committertron <tron@pkgsrc.org>1998-02-28 18:14:09 +0000
commit4e49e24d5c4a3d345109b1106ec03f788d352b55 (patch)
tree1da3b77011b20ee7dc4558d70055efe680b5ecd4 /benchmarks
parent18a2a23c838192ddcd48d78e27d5dd6acb6b8558 (diff)
downloadpkgsrc-4e49e24d5c4a3d345109b1106ec03f788d352b55.tar.gz
Handle manual page compression more clever.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/bonnie/Makefile6
-rw-r--r--benchmarks/bonnie/patches/patch-ab7
2 files changed, 6 insertions, 7 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile
index a25b42d52f1..419545ed7a4 100644
--- a/benchmarks/bonnie/Makefile
+++ b/benchmarks/bonnie/Makefile
@@ -3,7 +3,7 @@
# Date created: 26 September 1994
# Whom: se
#
-# $NetBSD: Makefile,v 1.2 1998/02/26 23:32:16 tron Exp $
+# $NetBSD: Makefile,v 1.3 1998/02/28 18:14:09 tron Exp $
# $FreeBSD Id: Makefile,v 1.5 1997/11/26 23:09:14 jseger Exp
#
@@ -20,8 +20,10 @@ NO_CONFIGURE= yes
CAT1= bonnie.0
MAN1= bonnie.1
-# Kludge until "bsd.port.mk" gets fixed.
+# MANZ is handled automatically
+.if defined(MANZ)
MANCOMPRESSED= 1
+.endif
post-extract:
${MV} ${WRKSRC}/Bonnie.c ${WRKSRC}/bonnie.c
diff --git a/benchmarks/bonnie/patches/patch-ab b/benchmarks/bonnie/patches/patch-ab
index 2b02a6c10f0..8a94a62b727 100644
--- a/benchmarks/bonnie/patches/patch-ab
+++ b/benchmarks/bonnie/patches/patch-ab
@@ -1,6 +1,6 @@
--- Makefile.orig Wed Aug 21 17:19:11 1991
-+++ Makefile Fri Feb 27 00:26:29 1998
-@@ -1,7 +1,10 @@
++++ Makefile Sat Feb 28 18:59:23 1998
+@@ -1,7 +1,7 @@
-CC = cc
-CFLAGS = -O2
@@ -11,7 +11,4 @@
+MANDIR=${PREFIX}/man
-Bonnie:
-+# Kludge until "bsd.port.mk" gets fixed.
-+MANZ=1
-+
+.include <bsd.prog.mk>