Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 23:44:06 -0800 (PST)
From:      Douglas William Thrift <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        douglas@douglasthrift.net
Subject:   ports/184275: Update port: sysutils/psmisc Add STAGE support
Message-ID:  <201311250744.rAP7i1lC007940@slowhand.douglasthrift.net>
Resent-Message-ID: <201311250750.rAP7o0mL044348@freefall.freebsd.org>

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

>Number:         184275
>Category:       ports
>Synopsis:       Update port: sysutils/psmisc Add STAGE support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 25 07:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 9.2-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD journeyman-freebsd.douglasthrift.net 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
Add STAGE support to sysutils/psmisc.

https://redports.org/buildarchive/20131125064400-8867/
>How-To-Repeat:
	
>Fix:

	

--- psmisc.2013-11-25T042121Z.diff begins here ---
diff -Nrux .svn -x work /usr/ports/sysutils/psmisc/Makefile psmisc/Makefile
--- /usr/ports/sysutils/psmisc/Makefile	2013-09-20 16:05:58.000000000 -0700
+++ psmisc/Makefile	2013-11-24 20:21:16.000000000 -0800
@@ -20,11 +20,8 @@
 
 OPTIONS_DEFINE=	NLS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-MAN1=		killall.1 pstree.1
-
 .if ${PORT_OPTIONS:MNLS}
 USES+=		gettext
 CONFIGURE_ARGS=	--enable-nls
@@ -38,6 +35,6 @@
 	@${REINPLACE_CMD} -e '/^#define COMM_LEN / s|16|254|' ${WRKSRC}/src/comm.h
 
 post-install:
-	@${LN} -fs ${PREFIX}/bin/killall ${PREFIX}/bin/pidof
+	@${LN} -fs killall ${STAGEDIR}${PREFIX}/bin/pidof
 
 .include <bsd.port.mk>
diff -Nrux .svn -x work /usr/ports/sysutils/psmisc/pkg-plist psmisc/pkg-plist
--- /usr/ports/sysutils/psmisc/pkg-plist	2012-07-14 07:29:18.000000000 -0700
+++ psmisc/pkg-plist	2013-11-24 20:12:09.000000000 -0800
@@ -3,6 +3,8 @@
 bin/pidof
 bin/pstree
 bin/pstree.x11
+man/man1/killall.1.gz
+man/man1/pstree.1.gz
 %%NLS%%share/locale/bg/LC_MESSAGES/psmisc.mo
 %%NLS%%share/locale/ca/LC_MESSAGES/psmisc.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/psmisc.mo
--- psmisc.2013-11-25T042121Z.diff ends here ---


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



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