Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2010 05:11:40 GMT
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143107: [PATCH] misc/cwish Fix build without utmp.h, take maintainership
Message-ID:  <201001230511.o0N5Becn029734@www.freebsd.org>
Resent-Message-ID: <201001230520.o0N5K2Qe021103@freefall.freebsd.org>

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

>Number:         143107
>Category:       ports
>Synopsis:       [PATCH] misc/cwish Fix build without utmp.h, take maintainership
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 23 05:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rob Farmer
>Release:        9.0-CURRENT
>Organization:
>Environment:
FreeBSD pentium4.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r202659: Tue Jan 19 16:02:39 PST 2010     rfarmer@pentium4.predatorlabs.net:/obj/usr/src/sys/PENTIUM4  i386
>Description:
* Fix build on current by removing unused utmp.h include
* Add a master site
* Take maintainership
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN cwish.old/Makefile cwish/Makefile
--- cwish.old/Makefile	2007-02-09 00:40:41.000000000 -0800
+++ cwish/Makefile	2010-01-22 20:59:48.000000000 -0800
@@ -9,10 +9,10 @@
 PORTNAME=	cwish
 PORTVERSION=	3.52
 PORTREVISION=	1
-CATEGORIES=	misc
-MASTER_SITES=	# none
+CATEGORIES=	misc shells
+MASTER_SITES=	http://www.predatorlabs.net/dl/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	rfarmer@predatorlabs.net
 COMMENT=	Curses based user friendly windowing shell
 
 NO_WRKSUBDIR=	yes
@@ -23,6 +23,9 @@
 pre-configure:
 	${CP} ${WRKSRC}/Makefile.FreeBSD ${WRKSRC}/Makefile
 
+post-patch:
+	${REINPLACE_CMD} -e 65d ${WRKSRC}/cwish.h
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/cwish ${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/cwish.1 ${MANPREFIX}/man/man1


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



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