blob: 0275a1d6cece53891c1957e6afc8a55979883381 (
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
34
35
36
37
38
39
40
41
42
43
44
|
# $NetBSD: Makefile,v 1.16 2014/05/29 23:36:30 wiz Exp $
#
DISTNAME= valgrind-3.9.0
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://valgrind.org/downloads/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= alnsn@NetBSD.org
HOMEPAGE= http://valgrind.org/downloads/
COMMENT= Debugging and profiling tools
LICENSE= gnu-gpl-v2
USE_PKGLOCALEDIR= yes
PKGCONFIG_OVERRIDE+= ${WRKSRC}/valgrind.pc.in
GNU_CONFIGURE= yes
ONLY_FOR_PLATFORM= Darwin-*-i386 Darwin-*-x86_64 \
Linux-*-x86_64 \
Linux-*-i386 \
Linux-*-arm*
USE_TOOLS+= gmake perl
USE_LANGUAGES= c c++
TEST_TARGET= regtest
.include "../../mk/bsd.prefs.mk"
.if ${MACHINE_ARCH:C/arm.*/arm/} == "arm"
PLIST_SUBST+= VGCONF_ARCH_PRI=arm
.endif
.if ${MACHINE_ARCH} == "i386"
PLIST_SUBST+= VGCONF_ARCH_PRI=x86
.endif
.if ${MACHINE_ARCH} == "x86_64"
PLIST_SUBST+= VGCONF_ARCH_PRI=amd64
#PLIST_SUBST+= VGCONF_ARCH_SEC=x86
CONFIGURE_ARGS+= --enable-only64bit
.endif
.include "../../mk/bsd.pkg.mk"
|