2021-03-25 05:04:36 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.26 2021/03/25 05:04:36 asou Exp $
|
2014-12-11 16:50:08 +00:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS = amd64
|
|
|
|
|
|
|
|
COMMENT = instrumentation framework for dynamic analysis tools
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
|
|
|
V = 3.10.1
|
2016-03-31 07:22:01 +00:00
|
|
|
PV = 20160331
|
2021-03-25 05:04:36 +00:00
|
|
|
REVISION = 19
|
2014-12-11 16:50:08 +00:00
|
|
|
DISTNAME = valgrind-${V}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
|
|
|
MASTER_SITES = ${HOMEPAGE:=downloads/}
|
|
|
|
MASTER_SITES0 = https://bitbucket.org/uebayasi/valgrind-openbsd/downloads/
|
|
|
|
PATCH_DIST_STRIP = -p1
|
2016-03-29 05:10:55 +00:00
|
|
|
PATCHFILES = valgrind-${V}-openbsd-${PV}.patch:0
|
2014-12-11 16:50:08 +00:00
|
|
|
|
|
|
|
HOMEPAGE = http://www.valgrind.org/
|
|
|
|
|
|
|
|
MAINTAINER = Masao Uebayashi <uebayasi@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:45:45 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2014-12-11 16:50:08 +00:00
|
|
|
|
|
|
|
WANTLIB += c pthread
|
|
|
|
|
2019-05-20 04:47:01 +00:00
|
|
|
CONFIGURE_STYLE = autoreconf
|
2014-12-11 16:50:08 +00:00
|
|
|
USE_GMAKE = Yes
|
2016-03-31 07:22:01 +00:00
|
|
|
AUTOCONF_VERSION = 2.69
|
|
|
|
AUTOMAKE_VERSION = 1.15
|
2019-05-20 04:47:01 +00:00
|
|
|
AUTORECONF = /bin/sh ./autogen.sh
|
2014-12-11 16:50:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2017-05-25 19:19:41 +00:00
|
|
|
|
|
|
|
.if ${PROPERTIES:Mclang}
|
|
|
|
# replace -lgcc
|
|
|
|
MAKE_FLAGS = TOOL_LDADD_COMMON=-lcompiler_rt
|
2019-10-02 17:19:29 +00:00
|
|
|
# XXX The '-s' option was not specified when executing the install command.
|
|
|
|
# Instead '--strip-all' is now executed at link time.
|
|
|
|
# strip command rewrite offset and align in ELF file. Therefor, when valgrind
|
|
|
|
# launch memcheck-amd64-openbsd, an Abort trap occurs in the execvp() system
|
|
|
|
# call.
|
|
|
|
INSTALL_STRIP =
|
2017-05-25 19:19:41 +00:00
|
|
|
.endif
|