summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 11:02:55 +0000
committerhans <hans@pkgsrc.org>2012-02-16 11:02:55 +0000
commitbecee4fd3a8089dd2bfc5f52672f4305a473ba3b (patch)
tree9fee3135003c36c59926ce4c8d34082f8c0022d3 /benchmarks
parent20e5a80e84cc314a9e7dc0c13cf28dfb2e04ffcd (diff)
downloadpkgsrc-becee4fd3a8089dd2bfc5f52672f4305a473ba3b.tar.gz
Fix build on SunOS.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/ubench/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile
index dfb25a44b99..a767b6b132a 100644
--- a/benchmarks/ubench/Makefile
+++ b/benchmarks/ubench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2009/04/29 09:20:40 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2012/02/16 11:02:55 hans Exp $
#
DISTNAME= ubench-0.32
@@ -20,6 +20,8 @@ SUBST_STAGE.path= post-configure
SUBST_FILES.path= Makefile
SUBST_SED.path= -e "s,/usr/local,${DESTDIR}${PREFIX},"
+CFLAGS.SunOS+= -DSunOS
+
post-install:
${INSTALL_MAN} ${WRKSRC}/ubench.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/ubench