Index: Makefile =================================================================== --- Makefile (revision 420050) +++ Makefile (working copy) @@ -102,7 +102,10 @@ ${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} \