From owner-svn-ports-head@FreeBSD.ORG Sun Aug 11 14:58:19 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D886AF6D; Sun, 11 Aug 2013 14:58:19 +0000 (UTC) (envelope-from gerald@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A95DE287B; Sun, 11 Aug 2013 14:58:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7BEwJ7t088353; Sun, 11 Aug 2013 14:58:19 GMT (envelope-from gerald@svn.freebsd.org) Received: (from gerald@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7BEwJda088351; Sun, 11 Aug 2013 14:58:19 GMT (envelope-from gerald@svn.freebsd.org) Message-Id: <201308111458.r7BEwJda088351@svn.freebsd.org> From: Gerald Pfeifer Date: Sun, 11 Aug 2013 14:58:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324592 - head/lang/gcc48 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Aug 2013 14:58:19 -0000 Author: gerald Date: Sun Aug 11 14:58:18 2013 New Revision: 324592 URL: http://svnweb.freebsd.org/changeset/ports/324592 Log: Upgrade to the 20130808 snapshot of GCC 4.8.2. Adjust the scheme used for PORTVERSION such that snapshots compare less than the actual release (and no EPOCH bump becomes necessary at end of life of a release series). [1] Rename VERSIONSTRING to the standard DISTVERSION. [2] Add more notes on the various variables carrying version information. Suggested by: tijl [1], crees [2] Modified: head/lang/gcc48/Makefile head/lang/gcc48/distinfo Modified: head/lang/gcc48/Makefile ============================================================================== --- head/lang/gcc48/Makefile Sun Aug 11 14:45:59 2013 (r324591) +++ head/lang/gcc48/Makefile Sun Aug 11 14:58:18 2013 (r324592) @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 4.8.1.20130418 +PORTVERSION= 4.8.2.s20130808 CATEGORIES= lang java MASTER_SITES= ${MASTER_SITE_GCC} -MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING} -DISTNAME= gcc-${VERSIONSTRING} +MASTER_SITE_SUBDIR= snapshots/${DISTVERSION} MAINTAINER= gerald@FreeBSD.org COMMENT= GNU Compiler Collection 4.8 @@ -21,10 +20,12 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORT BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu .endif -# VERSIONSTRING relates to downloads, GCC_VERSION and SUFFIX to names -# of executables and directories once installed. -VERSIONSTRING= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.([0-9]+)/\1-\2/} -GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/} +# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names +# of executables and directories once installed. A PORTVERSION of +# 4.Y.2.s20130808 results in values of 4.Y-20130808, 4.Y.2, and 4Y +# for these three. +DISTVERSION= ${PORTVERSION:C/([0-9]+\.[0-9]+).*\.s([0-9]+)/\1-\2/} +GCC_VERSION= ${PORTVERSION:C/(.+)\.s[0-9]{8}/\1/} SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/} LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX} ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 sparc64 @@ -56,7 +57,7 @@ CONFIGURE_ENV+= UNAME_m="powerpc64" .endif LANGUAGES:= c,c++,objc,fortran -SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} +SRCDIR= ${WRKDIR}/gcc-${DISTVERSION} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} Modified: head/lang/gcc48/distinfo ============================================================================== --- head/lang/gcc48/distinfo Sun Aug 11 14:45:59 2013 (r324591) +++ head/lang/gcc48/distinfo Sun Aug 11 14:58:18 2013 (r324592) @@ -1,2 +1,2 @@ -SHA256 (gcc-4.8-20130418.tar.bz2) = f1148307d1ef0ab731dda8b6e5e90fd778f37bf62f46ad455e0a1cb8d948dc05 -SIZE (gcc-4.8-20130418.tar.bz2) = 82573341 +SHA256 (gcc-4.8-20130808.tar.bz2) = 97940f3d3ba9ed5e173d30ee0f36cbbd072a9b39f4294e8ed3511b8ee05b1ca8 +SIZE (gcc-4.8-20130808.tar.bz2) = 81696111