31 lines
847 B
Makefile
31 lines
847 B
Makefile
# $NetBSD: Makefile,v 1.12 2015/01/20 06:43:09 mef Exp $
|
|
|
|
DISTNAME= sysbench-0.4.12
|
|
PKGREVISION= 4
|
|
CATEGORIES= benchmarks
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sysbench/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://launchpad.net/sysbench/
|
|
COMMENT= Modular, cross-platform and multi-threaded benchmark tool
|
|
|
|
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"
|