blob: 144e93f611a1177beb9adb650f03840e250a5bde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.7 2012/06/11 12:52:52 fhajny Exp $
DISTNAME= sysbench-0.4.12
PKGREVISION= 1
CATEGORIES= benchmarks
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sysbench/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sysbench.sourceforge.net/
COMMENT= Modular, cross-platform and multi-threaded benchmark tool
PKG_DESTDIR_SUPPORT= user-destdir
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
PTHREAD_AUTO_VARS= yes
MAKE_FLAGS+= bin_SCRIPTS= # don't install problematic scripts
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
CFLAGS+= -D_NETBSD_SOURCE # hack for ulong along with patch-aa
.endif
.include "../../mk/compiler.mk"
.if !empty(MACHINE_PLATFORM:MSunOS-5.1[0-9]-*) && \
!empty(CC_VERSION:Mgcc-4.[6-9].*)
BUILDLINK_TRANSFORM+= rm:-D_XOPEN_SOURCE=500
.endif
.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|