aboutsummaryrefslogtreecommitdiff
path: root/math/dieharder/Makefile
blob: 17150b7227a72323c8962b73c68003b4e6835678 (plain) (blame)
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
# Created by: bf <bf2006a@yahoo.com>

PORTNAME=	dieharder
PORTVERSION=	3.31.1
PORTREVISION=	7
CATEGORIES=	math
MASTER_SITES=	http://www.phy.duke.edu/~rgb/General/dieharder/ LOCAL/bf

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Random number generator testsuite

LICENSE=	GPLv2

LIB_DEPENDS=	libgsl.so:math/gsl

BROKEN_sparc64=		fails to compile
MAKE_JOBS_UNSAFE=	yes

USES=		dos2unix libtool tar:tgz
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USE_LDCONFIG=	yes

# Fix build with clang11
CFLAGS+=	-fcommon

check test: build
	${WRKSRC}/dieharder/dieharder -a

.include <bsd.port.mk>