summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-12 15:11:37 +0000
committerhans <hans@pkgsrc.org>2012-01-12 15:11:37 +0000
commit4ef53fe0808c0818a7ae91d1cb34a5d714d1fa0d (patch)
tree75eaedaac49b021d606d2fccdbc91944eccc1af2 /benchmarks/bonnie
parentb0374531c16841b5d6b2c2a3526b3f7e7242e78d (diff)
downloadpkgsrc-4ef53fe0808c0818a7ae91d1cb34a5d714d1fa0d.tar.gz
Fix build on SunOS.
Diffstat (limited to 'benchmarks/bonnie')
-rw-r--r--benchmarks/bonnie/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/bonnie/Makefile b/benchmarks/bonnie/Makefile
index 6c36d48ec58..e9113b870e1 100644
--- a/benchmarks/bonnie/Makefile
+++ b/benchmarks/bonnie/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2010/04/01 06:59:19 obache Exp $
+# $NetBSD: Makefile,v 1.36 2012/01/12 15:13:15 hans Exp $
DISTNAME= bonnie
PKGNAME= bonnie-2.06
@@ -23,6 +23,7 @@ USE_BSD_MAKEFILE= yes
MANCOMPRESSED_IF_MANZ= yes
CFLAGS.Linux+= -D_FILE_OFFSET_BITS=64
+CFLAGS.SunOS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
INSTALLATION_DIRS= bin ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1