diff options
author | gerald <gerald@FreeBSD.org> | 2013-08-11 18:21:41 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2013-08-11 18:21:41 +0800 |
commit | b5732156545fc9e4e02572af4a57eda0febe84c4 (patch) | |
tree | 18957c16a4a6989b01220f6b14287e4861678fdf /lang/gcc49 | |
parent | 9c2866ecbb62f43309969edcfdc43ff710d4e2df (diff) | |
download | freebsd-ports-gnome-b5732156545fc9e4e02572af4a57eda0febe84c4.tar.gz freebsd-ports-gnome-b5732156545fc9e4e02572af4a57eda0febe84c4.tar.zst freebsd-ports-gnome-b5732156545fc9e4e02572af4a57eda0febe84c4.zip |
Update to the 20130804 snapshot of GCC 4.9.0.
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/gcc49')
-rw-r--r-- | lang/gcc49/Makefile | 15 | ||||
-rw-r--r-- | lang/gcc49/distinfo | 4 |
2 files changed, 10 insertions, 9 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile index daf83ae71509..553ebe4259d8 100644 --- a/lang/gcc49/Makefile +++ b/lang/gcc49/Makefile @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= gcc -PORTVERSION= 4.9.0.20130728 +PORTVERSION= 4.9.0.20130804 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.9 @@ -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/gcc49/distinfo b/lang/gcc49/distinfo index 29a7095453a1..3e4772ae8470 100644 --- a/lang/gcc49/distinfo +++ b/lang/gcc49/distinfo @@ -1,2 +1,2 @@ -SHA256 (gcc-4.9-20130728.tar.bz2) = f8630957ef498ec79594f5a0e35b6afed62ffa38331055388d0fc91d60773d19 -SIZE (gcc-4.9-20130728.tar.bz2) = 82415272 +SHA256 (gcc-4.9-20130804.tar.bz2) = dada5d1994541b7685d1808210554d52ecf70003082458e3700b31b0d68171b3 +SIZE (gcc-4.9-20130804.tar.bz2) = 82407792 |