From sunpoet@sunpoet.net  Tue Nov 23 08:55:13 2010
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1213A106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Nov 2010 08:55:13 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182])
	by mx1.freebsd.org (Postfix) with ESMTP id A1E868FC26
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Nov 2010 08:55:12 +0000 (UTC)
Received: by gyg13 with SMTP id 13so4863711gyg.13
        for <multiple recipients>; Tue, 23 Nov 2010 00:55:12 -0800 (PST)
Received: by 10.151.146.16 with SMTP id y16mr10806554ybn.179.1290502510353;
        Tue, 23 Nov 2010 00:55:10 -0800 (PST)
Received: from sunpoet.net (sunpoet.net [220.133.12.240])
        by mx.google.com with ESMTPS id y11sm3910974yhc.8.2010.11.23.00.55.07
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Tue, 23 Nov 2010 00:55:08 -0800 (PST)
Received: by sunpoet.net (Postfix, from userid 1000)
	id 1D5162AECCCD; Tue, 23 Nov 2010 16:54:46 +0800 (CST)
Message-Id: <20101123085446.1D5162AECCCD@sunpoet.net>
Date: Tue, 23 Nov 2010 16:54:46 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
Sender: Sunpoet Hsieh <sunpoet@sunpoet.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: joel@FreeBSD.org
Subject: [PATCH] lang/pcc: variable twiddle, sort MAN1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         152522
>Category:       ports
>Synopsis:       [PATCH] lang/pcc: variable twiddle, sort MAN1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    joel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 23 09:00:24 UTC 2010
>Closed-Date:    Tue Nov 23 10:08:09 UTC 2010
>Last-Modified:  Tue Nov 23 10:10:11 UTC 2010
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct 23 16:01:16 CST 2010
>Description:
- Variable twiddle
- Use = for CONFIGURE_ENV
- Sort MAN1

Port maintainer (joel@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- pcc-0.9.9.101107.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/pcc/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile	16 Nov 2010 19:09:56 -0000	1.16
+++ Makefile	19 Nov 2010 08:25:52 -0000
@@ -7,36 +7,32 @@
 #
 
 PORTNAME=	pcc
-PORTVERSION=	0.9.9.${DATESPEC}
+PORTVERSION=	0.9.9.101107
 PORTREVISION?=	0
 CATEGORIES=	lang
 MASTER_SITES=	ftp://pcc.ludd.ltu.se/pub/pcc/ \
 		http://pcc.ludd.ltu.se/ftp/pub/pcc/ \
 		ftp://226.net120.skekraft.net/pcc/
-DISTNAME=	pcc-${DATESPEC}
+DISTNAME=	pcc-${PORTVERSION:E}
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	joel@FreeBSD.org
 COMMENT=	S.C.Johnson's Portable C Compiler brought into the C99 world
 
-DATESPEC=	101107
-
 ONLY_FOR_ARCHS=	i386 amd64
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${DATESPEC}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV+=	YACC=${YACC}
+CONFIGURE_ENV=	YACC=${YACC}
 USE_GMAKE=	yes
 
-MAN1=		pcc.1 cpp.1 ccom.1
+MAN1=		ccom.1 cpp.1 pcc.1
 PLIST_FILES=	bin/pcc libexec/ccom libexec/cpp
 
-OSVERMAJOR=${OSREL:C/\.[0-9.]*//}
-
 pre-configure:
 	${MKDIR} ${WRKSRC}/os/freebsd
 	${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
-	${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSVERMAJOR}," \
+	${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSREL:R}," \
 		${WRKSRC}/os/freebsd/ccconfig.h
 
 .include <bsd.port.mk>
--- pcc-0.9.9.101107.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->joel 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Nov 23 09:00:39 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Joel Dahl <joel@FreeBSD.org>
To: bug-followup@freebsd.org, sunpoet@freebsd.org
Cc:  
Subject: Re: ports/152522: [PATCH] lang/pcc: variable twiddle, sort MAN1
Date: Tue, 23 Nov 2010 10:33:51 +0100

 Looks good to me. Feel free to commit.
 
 -- 
 Joel
State-Changed-From-To: open->closed 
State-Changed-By: sunpoet 
State-Changed-When: Tue Nov 23 10:08:08 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/152522: commit references a PR
Date: Tue, 23 Nov 2010 10:07:58 +0000 (UTC)

 sunpoet     2010-11-23 10:07:54 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/pcc             Makefile 
   Log:
   - Variable twiddle
   - Use = for CONFIGURE_ENV
   - Sort MAN1
   
   PR:             ports/152522
   Submitted by:   sunpoet (myself)
   Approved by:    joel (maintainer)
   
   Revision  Changes    Path
   1.17      +6 -10     ports/lang/pcc/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
