aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pstack/Makefile
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-04-15 02:25:45 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-04-15 02:25:45 +0000
commit3fdaabb8319cc58e9d7c3905573d4be0cc7caf75 (patch)
treec9aa53bddbc581fc5d6a49f5b7b9f628a57a7fea /sysutils/pstack/Makefile
parent68a4a7dccfa5a58e28a10caa6d37e057fdc29471 (diff)
Notes
Diffstat (limited to 'sysutils/pstack/Makefile')
-rw-r--r--sysutils/pstack/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/sysutils/pstack/Makefile b/sysutils/pstack/Makefile
index f154be6d8920..dccbbfe774c1 100644
--- a/sysutils/pstack/Makefile
+++ b/sysutils/pstack/Makefile
@@ -8,8 +8,10 @@
PORTNAME= pstack
PORTVERSION= 1.2
+PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= http://bsd-pstack.sourceforge.net/releases/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= bsd-pstack
MAINTAINER= pmedwards@eircom.net
COMMENT= Retrieve process/core file stack traces
@@ -20,4 +22,11 @@ MANCOMPRESSED= yes
MAN1= pstack.1
PLIST_FILES= bin/pstack
-.include <bsd.port.mk>
+.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>