From nobody@FreeBSD.org  Wed Feb 17 06:24:49 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AAD4B106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 06:24:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 99D3D8FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 06:24:49 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o1H6OnD1020526
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 17 Feb 2010 06:24:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o1H6OnpM020509;
	Wed, 17 Feb 2010 06:24:49 GMT
	(envelope-from nobody)
Message-Id: <201002170624.o1H6OnpM020509@www.freebsd.org>
Date: Wed, 17 Feb 2010 06:24:49 GMT
From: "Joseph S. Atkinson" <jsa@wickedmachine.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update devel/plan9port to 20100217 snapshot
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144034
>Category:       ports
>Synopsis:       Update devel/plan9port to 20100217 snapshot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    danfe
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 17 06:30:05 UTC 2010
>Closed-Date:    Tue Feb 23 21:34:50 UTC 2010
>Last-Modified:  Tue Feb 23 21:34:50 UTC 2010
>Originator:     Joseph S. Atkinson
>Release:        
>Organization:
>Environment:
>Description:
Update devel/plan9port to a more recent snapshot.

Under more recent tarballs, amd64 is now supported, and the breakage on FreeBSD 8 has been alleviated. This patch removes those restrictions.

Reported by dforsyth@ via EFNet/#bsdports
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ru /usr/ports/devel/plan9port/Makefile plan9port/Makefile
--- /usr/ports/devel/plan9port/Makefile	2010-01-05 15:31:57.000000000 -0500
+++ plan9port/Makefile	2010-02-17 00:40:04.000000000 -0500
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	plan9port
-PORTVERSION=	20080909
-PORTREVISION=	1
+PORTVERSION=	20100217
 CATEGORIES=	devel plan9
 MASTER_SITES=	http://swtch.com/plan9port/ \
 		ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
@@ -22,7 +21,7 @@
 PLIST=		${WRKDIR}/.PLIST
 SUB_FILES=	pkg-message
 REINPLACE_ARGS=	-i ""
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 PLAN9=		${PREFIX}/plan9
 MANPREFIX=	${PLAN9}
@@ -93,10 +92,6 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 800000
-BROKEN=		does not build
-.endif
-
 post-patch:
 	@${FIND} ${WRKSRC}/man -type f -regex ".*\.[0-9?]$\" \
 		| ${XARGS} ${REINPLACE_CMD} -e 's|\\\*9|${PLAN9}|'
diff -ru /usr/ports/devel/plan9port/distinfo plan9port/distinfo
--- /usr/ports/devel/plan9port/distinfo	2008-10-11 11:23:58.000000000 -0400
+++ plan9port/distinfo	2010-02-17 00:46:10.000000000 -0500
@@ -1,3 +1,3 @@
-MD5 (plan9port-20080909.tgz) = f8b1afb3c64e6f66952b2329a2559247
-SHA256 (plan9port-20080909.tgz) = 583484c8ca0accc39a9d43b0decbfc3597a59a8627917fed3e6535d547551a65
-SIZE (plan9port-20080909.tgz) = 22716400
+MD5 (plan9port-20100217.tgz) = 0f3e62a91d6ecc21e0ec38bd0cdfa267
+SHA256 (plan9port-20100217.tgz) = 8ab52d50e6376606c2d16d3cb1da22f1d91ade6692cbb2a10e02a0e4d37b5455
+SIZE (plan9port-20100217.tgz) = 22824382


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danfe 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Feb 17 06:30:17 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144034 

From: "Joseph S. Atkinson" <jsa.bsd@gmail.com>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/144034: Update devel/plan9port to 20100217 snapshot
Date: Wed, 17 Feb 2010 22:14:48 -0500

 This is a multi-part message in MIME format.
 --------------070800040801070409080309
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This supersedes the previous patch. There is a hardcoded font path that requires 
 cleanup for acme(1) to work.
 
 Again, reported by dforsyth@
 
 --------------070800040801070409080309
 Content-Type: text/plain;
  name="plan9port_20100217v2.diff.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="plan9port_20100217v2.diff.txt"
 
 diff -ru /usr/ports/devel/plan9port/Makefile plan9port/Makefile
 --- /usr/ports/devel/plan9port/Makefile	2010-01-05 15:31:57.000000000 -0500
 +++ plan9port/Makefile	2010-02-17 21:53:44.000000000 -0500
 @@ -6,8 +6,7 @@
  #
  
  PORTNAME=	plan9port
 -PORTVERSION=	20080909
 -PORTREVISION=	1
 +PORTVERSION=	20100217
  CATEGORIES=	devel plan9
  MASTER_SITES=	http://swtch.com/plan9port/ \
  		ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
 @@ -22,7 +21,7 @@
  PLIST=		${WRKDIR}/.PLIST
  SUB_FILES=	pkg-message
  REINPLACE_ARGS=	-i ""
 -ONLY_FOR_ARCHS=	i386
 +ONLY_FOR_ARCHS=	i386 amd64
  
  PLAN9=		${PREFIX}/plan9
  MANPREFIX=	${PLAN9}
 @@ -93,15 +92,13 @@
  
  .include <bsd.port.pre.mk>
  
 -.if ${OSVERSION} >= 800000
 -BROKEN=		does not build
 -.endif
 -
  post-patch:
  	@${FIND} ${WRKSRC}/man -type f -regex ".*\.[0-9?]$\" \
  		| ${XARGS} ${REINPLACE_CMD} -e 's|\\\*9|${PLAN9}|'
  	@${REINPLACE_CMD} -e 's|X11=/usr/X11R6|X11=${X11BASE}|' ${WRKSRC}/bin/9l \
  		${WRKSRC}/src/cmd/devdraw/mkwsysrules.sh
 +	@${REINPLACE_CMD} -e 's|/lib/font/bit|${PLAN9}/font|g' \
 +		${WRKSRC}/src/cmd/acme/acme.c
  
  do-build:
  	cd ${WRKSRC} && ./INSTALL
 diff -ru /usr/ports/devel/plan9port/distinfo plan9port/distinfo
 --- /usr/ports/devel/plan9port/distinfo	2008-10-11 11:23:58.000000000 -0400
 +++ plan9port/distinfo	2010-02-17 00:46:10.000000000 -0500
 @@ -1,3 +1,3 @@
 -MD5 (plan9port-20080909.tgz) = f8b1afb3c64e6f66952b2329a2559247
 -SHA256 (plan9port-20080909.tgz) = 583484c8ca0accc39a9d43b0decbfc3597a59a8627917fed3e6535d547551a65
 -SIZE (plan9port-20080909.tgz) = 22716400
 +MD5 (plan9port-20100217.tgz) = 0f3e62a91d6ecc21e0ec38bd0cdfa267
 +SHA256 (plan9port-20100217.tgz) = 8ab52d50e6376606c2d16d3cb1da22f1d91ade6692cbb2a10e02a0e4d37b5455
 +SIZE (plan9port-20100217.tgz) = 22824382
 
 --------------070800040801070409080309--
State-Changed-From-To: open->closed 
State-Changed-By: danfe 
State-Changed-When: Tue Feb 23 21:33:07 UTC 2010 
State-Changed-Why:  
I've updated the port to the most recent snapshot, thanks.  However, as 
a little advice for the future: make sure you also update pkg-plist.  :-) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144034 
>Unformatted:
