summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/gcc49/Makefile17
-rw-r--r--lang/gcc49/distinfo6
2 files changed, 11 insertions, 12 deletions
diff --git a/lang/gcc49/Makefile b/lang/gcc49/Makefile
index 19f53d7c8f88..efee2163f2fc 100644
--- a/lang/gcc49/Makefile
+++ b/lang/gcc49/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 4.9.4.s20160713
+PORTVERSION= 4.9.4
CATEGORIES= lang java
-MASTER_SITES= GCC/snapshots/${DISTVERSION}
+MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}
MAINTAINER= gerald@FreeBSD.org
@@ -27,11 +27,9 @@ CPE_VENDOR= gnu
CPE_VERSION= ${GCC_VERSION}
# 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/}
+# of executables and directories once installed.
+DISTVERSION= ${PORTVERSION}
+GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
ONLY_FOR_ARCHS= amd64 armv6 armv6hf i386 powerpc powerpc64 sparc64
USES= compiler cpe gmake iconv libtool makeinfo perl5 tar:bzip2
@@ -116,9 +114,10 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gccint \
gcc${SUFFIX}/gfortran \
gcc${SUFFIX}/libgomp
-.if ${ARCH} == "i386" || ${ARCH} == "amd64"
+# Release tarballs (as opposed to snapshots) always carry this.
+#.if ${ARCH} == "i386" || ${ARCH} == "amd64"
INFO+= gcc${SUFFIX}/libquadmath
-.endif
+#.endif
.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "armv6" || ${ARCH} == "armv6hf"
INFO+= gcc${SUFFIX}/libitm
.endif
diff --git a/lang/gcc49/distinfo b/lang/gcc49/distinfo
index b28255446747..12ff1232c2db 100644
--- a/lang/gcc49/distinfo
+++ b/lang/gcc49/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468677290
-SHA256 (gcc-4.9-20160713.tar.bz2) = 2e757c14c13e00acfb76daea6085168708761feedadc1bce5bb6b6b570f27c43
-SIZE (gcc-4.9-20160713.tar.bz2) = 85744082
+TIMESTAMP = 1470221809
+SHA256 (gcc-4.9.4.tar.bz2) = 6c11d292cd01b294f9f84c9a59c230d80e9e4a47e5c6355f046bb36d4f358092
+SIZE (gcc-4.9.4.tar.bz2) = 90097606