aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pstack
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
parent68a4a7dccfa5a58e28a10caa6d37e057fdc29471 (diff)
downloadports-3fdaabb8319cc58e9d7c3905573d4be0cc7caf75.tar.gz
ports-3fdaabb8319cc58e9d7c3905573d4be0cc7caf75.zip
- unbreak this port when OSVERSION >= 600000
- update MASTER_SITES and WWW in pkg-descr - bump PORTREVISION PR: 94865 Submitted by: leeym Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=159536
Diffstat (limited to 'sysutils/pstack')
-rw-r--r--sysutils/pstack/Makefile13
-rw-r--r--sysutils/pstack/pkg-descr2
2 files changed, 13 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>
diff --git a/sysutils/pstack/pkg-descr b/sysutils/pstack/pkg-descr
index 1482052412ab..0e80677eec4b 100644
--- a/sysutils/pstack/pkg-descr
+++ b/sysutils/pstack/pkg-descr
@@ -4,3 +4,5 @@ each thread in that process.
It's useful for finding out what wedged processes are up to, getting
profiles of what applications, and just satisfying one's curiosity.
+
+WWW: http://sourceforge.net/projects/bsd-pstack/