aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2013-08-11 20:02:10 +0800
committergerald <gerald@FreeBSD.org>2013-08-11 20:02:10 +0800
commitd077d54fbe920f81a410d2fca364c8c08cdb3fb7 (patch)
tree07b1adbbe2aefefe3b038c0a090a88ff2c11f36f /lang/gcc47
parent44e9f90b3817aa5b7c575487f0815917ca5dc11d (diff)
downloadfreebsd-ports-gnome-d077d54fbe920f81a410d2fca364c8c08cdb3fb7.tar.gz
freebsd-ports-gnome-d077d54fbe920f81a410d2fca364c8c08cdb3fb7.tar.zst
freebsd-ports-gnome-d077d54fbe920f81a410d2fca364c8c08cdb3fb7.zip
Update to the 20130810 snapshot of GCC 4.7.4.
Rename VERSIONSTRING to the standard DISTVERSION. [1] Add more notes on the various variables carrying version information. Suggested by: crees [1] ~
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile15
-rw-r--r--lang/gcc47/distinfo4
2 files changed, 10 insertions, 9 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 6c3777a80627..854a37810c4b 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 4.7.4.20130803
+PORTVERSION= 4.7.4.20130810
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.7
@@ -21,9 +20,11 @@ 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/}
+# 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]+).*\.([0-9]+)/\1-\2/}
GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
LATEST_LINK= gcc${SUFFIX}${PKGNAMESUFFIX}
@@ -59,7 +60,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/gcc47/distinfo b/lang/gcc47/distinfo
index df73bacfee52..d75311ed114a 100644
--- a/lang/gcc47/distinfo
+++ b/lang/gcc47/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.7-20130803.tar.bz2) = 6c09d5d218266469c1bb78e8e4210248e28987840ca2130027307087b087c9ad
-SIZE (gcc-4.7-20130803.tar.bz2) = 78800709
+SHA256 (gcc-4.7-20130810.tar.bz2) = e7e5a88e7ed24a2c10c02439381d523415d379e5e7dd0f6f66e930803d27220b
+SIZE (gcc-4.7-20130810.tar.bz2) = 78797393