Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2006 23:47:12 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pmedwards@eircom.net
Subject:   ports/94865: [PATCH] sysutils/pstack: unbreak and update MASTER_SITE
Message-ID:  <20060323154712.0FB2FB29CAB@utopia.leeym.com>
Resent-Message-ID: <200603231550.k2NFoGYm007288@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94865
>Category:       ports
>Synopsis:       [PATCH] sysutils/pstack: unbreak and update MASTER_SITE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 23 15:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Mar 21 08:23:04 CST 2006
>Description:
- unbreak this port when OSVERSION >= 600000
- update MASTER_SITES and WWW in pkg-descr
- bump PORTREVISION

Port maintainer (pmedwards@eircom.net) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.6.2006031421/pstack-1.2.log

>Fix:

--- pstack-1.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/pstack/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	6 Feb 2004 13:12:28 -0000	1.5
+++ Makefile	23 Mar 2006 15:45:48 -0000
@@ -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 @@
 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>
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/sysutils/pstack/pkg-descr,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-descr
--- pkg-descr	26 Nov 2002 11:24:21 -0000	1.3
+++ pkg-descr	23 Mar 2006 15:45:48 -0000
@@ -4,3 +4,5 @@
 
 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/
--- pstack-1.2_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060323154712.0FB2FB29CAB>