summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie
diff options
context:
space:
mode:
authortron <tron>1998-02-28 18:14:09 +0000
committertron <tron>1998-02-28 18:14:09 +0000
commitfb43abf7bdec4e3f4a1b2653b4c2ed04bd35c6a5 (patch)
tree1da3b77011b20ee7dc4558d70055efe680b5ecd4 /benchmarks/bonnie
parentc111196d773c0b237b38f436767eac2d8adcc7db (diff)
downloadpkgsrc-fb43abf7bdec4e3f4a1b2653b4c2ed04bd35c6a5.tar.gz
Handle manual page compression more clever.
Diffstat (limited to 'benchmarks/bonnie')
-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>