aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pstack/Makefile
blob: b2302ba8023b586d20bce92e96b6072faaf31894 (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
32
# New ports collection makefile for:    pstack
# Date created:     1 May 2002
# Whom:         Peter Edwards <pmedwards@eircom.net>
#
# $FreeBSD$
# $Id: Makefile,v 1.2 2002/11/26 10:38:28 pmedwards Exp $
#

PORTNAME=   pstack
PORTVERSION=    1.2
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bsd-pstack

MAINTAINER= ports@FreeBSD.org
COMMENT=    Retrieve process/core file stack traces

ONLY_FOR_ARCHS= i386

MANCOMPRESSED=  yes
MAN1=       pstack.1
PLIST_FILES=    bin/pstack

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 600000
post-patch:
    ${REINPLACE_CMD} -e 's/DT_COUNT/DT_BIND_NOW/' ${WRKSRC}/elf.c
.endif

.include <bsd.port.post.mk>