lang/gcc33: snapshots -> final release

Pav Lucistnik pav at FreeBSD.org
Fri Jul 8 21:58:08 GMT 2005


Gerald Pfeifer píše v pá 08. 07. 2005 v 23:53 +0200:

> The GCC 3.3 branch has been closed, so I'd like to move the lang/gcc33
> from using some snapshot to the final release of that branch.
> 
> I've got a proto-patch which looks as follows, but simply removing 
> PORTREVISION is bad in terms of version comparisons as far as I can
> see.
> 
> Would changing the revision from "20050511" to "release" work?
> 
> Gerald
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/lang/gcc33/Makefile,v
> retrieving revision 1.198
> diff -u -3 -p -r1.198 Makefile
> --- Makefile	22 May 2005 00:37:29 -0000	1.198
> +++ Makefile	8 Jul 2005 21:46:28 -0000
> @@ -8,11 +8,10 @@
>  
>  PORTNAME=	gcc
>  PORTVERSION=	3.3.6
> -PORTREVISION=	20050511
>  CATEGORIES=	lang
> -VERSIONSTRING=	3.3-${PORTREVISION}
> +VERSIONSTRING=	3.3.6
>  MASTER_SITES=	${MASTER_SITE_GCC}
> -MASTER_SITE_SUBDIR=	snapshots/${VERSIONSTRING}
> +MASTER_SITE_SUBDIR=	releases/${VERSIONSTRING}
>  DISTFILES=	\
>  		gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
>  		gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \

This looks like decreating PKGVERSION to me, because 3.3.6.20050511 is
more than 3.3.6. You will have to add PORTEPOCH=1 or something.

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

Somebody ought to cross ball point pens with coat hangers so that the
pens will multiply instead of disappear.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050708/9e3bfc1a/attachment.bin


More information about the freebsd-ports mailing list