blob: d87f65d0861ea3b7639606ce3ca01d875bf5c78a (
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
|
# $NetBSD: Makefile,v 1.16 2011/08/30 10:43:11 christos Exp $
#
DISTNAME= strace-4.5.15
PKGREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=strace/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= christos@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/strace/
COMMENT= Trace system calls
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
# NetBSD < 3.99.16
NOT_FOR_PLATFORM= NetBSD-[012]*-* NetBSD-3.[0-9][._]*-* \
NetBSD-3.99.[0-9]-* NetBSD-3.99.1[0-5]-*
NOT_FOR_PLATFORM+= DragonFly-*-*
GNU_CONFIGURE= yes
REPLACE_PERL= strace-graph
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
USE_TOOLS+= autoconf
pre-configure:
cd ${WRKSRC} && autoconf
.endif
.if ${OPSYS} == "NetBSD"
MAKE_ENV+= NETBSD_SRCDIR=${BSD_SRCDIR:Q}
pre-configure:
${CP} -f ${WRKSRC}/syscalls.pl ${WRKSRC}/netbsd
.endif
.include "../../mk/bsd.pkg.mk"
|