42 lines
875 B
Makefile
42 lines
875 B
Makefile
# $OpenBSD: Makefile,v 1.18 2019/05/20 04:47:01 naddy Exp $
|
|
|
|
USE_WXNEEDED = Yes
|
|
|
|
ONLY_FOR_ARCHS = amd64
|
|
|
|
COMMENT = instrumentation framework for dynamic analysis tools
|
|
CATEGORIES = devel
|
|
|
|
V = 3.10.1
|
|
PV = 20160331
|
|
REVISION = 12
|
|
DISTNAME = valgrind-${V}
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
MASTER_SITES = ${HOMEPAGE:=downloads/}
|
|
MASTER_SITES0 = https://bitbucket.org/uebayasi/valgrind-openbsd/downloads/
|
|
PATCH_DIST_STRIP = -p1
|
|
PATCHFILES = valgrind-${V}-openbsd-${PV}.patch:0
|
|
|
|
HOMEPAGE = http://www.valgrind.org/
|
|
|
|
MAINTAINER = Masao Uebayashi <uebayasi@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c pthread
|
|
|
|
CONFIGURE_STYLE = autoreconf
|
|
USE_GMAKE = Yes
|
|
AUTOCONF_VERSION = 2.69
|
|
AUTOMAKE_VERSION = 1.15
|
|
AUTORECONF = /bin/sh ./autogen.sh
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
.if ${PROPERTIES:Mclang}
|
|
# replace -lgcc
|
|
MAKE_FLAGS = TOOL_LDADD_COMMON=-lcompiler_rt
|
|
.endif
|