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
commit1820edfb97670f16cabb7c5bd900795b398883bd (patch)
tree9fee3135003c36c59926ce4c8d34082f8c0022d3 /benchmarks
parent4ff194bca564df2de75f9c29c20a80964a73cd70 (diff)
downloadpkgsrc-1820edfb97670f16cabb7c5bd900795b398883bd.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