summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorsbd <sbd>2013-04-01 06:30:45 +0000
committersbd <sbd>2013-04-01 06:30:45 +0000
commita862f2f56432d97514272b97803a5a477035e4ff (patch)
tree8884f6a47ef15dabb8d04be974fc136999807951 /benchmarks
parentc37442993bc01b854ba928cd1bc82c6eede6a086 (diff)
downloadpkgsrc-a862f2f56432d97514272b97803a5a477035e4ff.tar.gz
Define _POSIX_SOURCE on Linux.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/ubench/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/ubench/Makefile b/benchmarks/ubench/Makefile
index 7c0eb13d526..6c5bdc90f18 100644
--- a/benchmarks/ubench/Makefile
+++ b/benchmarks/ubench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2012/09/11 22:37:15 asau Exp $
+# $NetBSD: Makefile,v 1.9 2013/04/01 06:30:45 sbd Exp $
#
DISTNAME= ubench-0.32
@@ -19,6 +19,7 @@ SUBST_FILES.path= Makefile
SUBST_SED.path= -e "s,/usr/local,${DESTDIR}${PREFIX},"
CFLAGS.SunOS+= -DSunOS
+CFLAGS.Linux+= -D_POSIX_SOURCE
post-install:
${INSTALL_MAN} ${WRKSRC}/ubench.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8