aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc5-devel
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2016-08-17 17:02:53 +0800
committergerald <gerald@FreeBSD.org>2016-08-17 17:02:53 +0800
commit48a123399c768899fbc2ae742bec84cdfcf874f1 (patch)
tree2bc91df0c6698fd1f190f995d7d8234a9d2e8902 /lang/gcc5-devel
parent9bb92a34f9c765fd8a75bbd0b91f67940a8bd9b5 (diff)
downloadfreebsd-ports-gnome-48a123399c768899fbc2ae742bec84cdfcf874f1.tar.gz
freebsd-ports-gnome-48a123399c768899fbc2ae742bec84cdfcf874f1.tar.zst
freebsd-ports-gnome-48a123399c768899fbc2ae742bec84cdfcf874f1.zip
Update to the 20160816 snapshot of GCC 5.4.1.
GCC uses an AWK script to generate source code that helps process command-line options. According to POSIX, string comparisons (and hence sorting) are to be performed based on the locale's collating order. Alas GNU AWK only does so in POSIX mode, whereas starting with FreeBSD 11 we do so by default, running into a bug (or false assumption) with that script used by GCC. Setting MAKE_ARGS such that AWK is always invoked in the C locale works around this bug. [1] PR: 210122 [1], 211742 [1] Submitted by: jkim [1]
Diffstat (limited to 'lang/gcc5-devel')
-rw-r--r--lang/gcc5-devel/Makefile7
-rw-r--r--lang/gcc5-devel/distinfo6
2 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc5-devel/Makefile b/lang/gcc5-devel/Makefile
index 6867a74d8072..a9fef803a569 100644
--- a/lang/gcc5-devel/Makefile
+++ b/lang/gcc5-devel/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 5.4.1.s20160809
+PORTVERSION= 5.4.1.s20160816
CATEGORIES= lang java
MASTER_SITES= GCC/snapshots/${DISTVERSION}
PKGNAMESUFFIX= ${SUFFIX}-devel
@@ -103,7 +103,10 @@ CONFIGURE_ARGS+=--disable-nls \
${ICONV_CONFIGURE_ARG} \
--with-pkgversion="FreeBSD Ports Collection" \
--with-system-zlib
-MAKE_ARGS+= MAKEINFOFLAGS="--no-split"
+# On FreeBSD 11 and above AWK uses the locale's collating order which
+# runs into a bug in GCC (PR 211742).
+MAKE_ARGS+= MAKEINFOFLAGS="--no-split" \
+ AWK="${SETENV} LC_ALL=C ${AWK:Q}"
USE_LDCONFIG= ${TARGLIB}
PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
diff --git a/lang/gcc5-devel/distinfo b/lang/gcc5-devel/distinfo
index 28debe604573..a9e36b7fb2fc 100644
--- a/lang/gcc5-devel/distinfo
+++ b/lang/gcc5-devel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1470819356
-SHA256 (gcc-5-20160809.tar.bz2) = c5ffb7081c44ec796877e7e6c47278cb2cae380be0e924350ef1e1090c02e320
-SIZE (gcc-5-20160809.tar.bz2) = 91649914
+TIMESTAMP = 1471422027
+SHA256 (gcc-5-20160816.tar.bz2) = 3bad56f10bd159e5083033ba883436f506bbfbcada51c15971ccb97cf9917ef9
+SIZE (gcc-5-20160816.tar.bz2) = 91654131