ports/152522: [PATCH] lang/pcc: variable twiddle, sort MAN1

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Nov 23 09:00:25 UTC 2010


>Number:         152522
>Category:       ports
>Synopsis:       [PATCH] lang/pcc: variable twiddle, sort MAN1
>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:   Tue Nov 23 09:00:24 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list