aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc5
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2016-08-17 16:22:50 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2016-08-17 16:22:50 +0000
commitf7b3456c92e285f0a186a3d1d60253d50dbdc93f (patch)
tree90b34eea685cc32357f75b98315f9effd94925e0 /lang/gcc5
parent6d89993892a683da54649c3b261051d4858633af (diff)
downloadports-f7b3456c92e285f0a186a3d1d60253d50dbdc93f.tar.gz
ports-f7b3456c92e285f0a186a3d1d60253d50dbdc93f.zip
Notes
Diffstat (limited to 'lang/gcc5')
-rw-r--r--lang/gcc5/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lang/gcc5/Makefile b/lang/gcc5/Makefile
index 960527691a84..6ea575d350bc 100644
--- a/lang/gcc5/Makefile
+++ b/lang/gcc5/Makefile
@@ -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} \