summaryrefslogtreecommitdiff
path: root/lang/gcc48
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2013-08-11 14:58:18 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2013-08-11 14:58:18 +0000
commitda9dde7f02bcf6e5ffac41889e2977efe188aac9 (patch)
tree774ebdd0e738b6a01aaa695d1cdd0fe0dac24e4e /lang/gcc48
parentFix build after recent glib update. (diff)
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]
Notes
Notes: svn path=/head/; revision=324592
Diffstat (limited to 'lang/gcc48')
-rw-r--r--lang/gcc48/Makefile17
-rw-r--r--lang/gcc48/distinfo4
2 files changed, 11 insertions, 10 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index 35de823eb3f2..f9c4af6b85b5 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -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:${PORTSDIR}/devel/binutils
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}
diff --git a/lang/gcc48/distinfo b/lang/gcc48/distinfo
index 258751716286..6368ee91ce9f 100644
--- a/lang/gcc48/distinfo
+++ b/lang/gcc48/distinfo
@@ -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