Date: Thu, 9 Oct 2014 12:35:18 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r272816 - head/sys/conf Message-ID: <201410091235.s99CZIAQ058066@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Oct 9 12:35:17 2014 New Revision: 272816 URL: https://svnweb.freebsd.org/changeset/base/272816 Log: Only catch the line from the compiler output where 'version' is a word This allows to build the kernel with gcc 4.9.1 from ports Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh ============================================================================== --- head/sys/conf/newvers.sh Thu Oct 9 12:20:00 2014 (r272815) +++ head/sys/conf/newvers.sh Thu Oct 9 12:35:17 2014 (r272816) @@ -89,7 +89,7 @@ fi touch version v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`} t=`date` i=`${MAKE:-make} -V KERN_IDENT` -compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep 'version') +compiler_v=$($(${MAKE:-make} -V CC) -v 2>&1 | grep -w 'version') for dir in /usr/bin /usr/local/bin; do if [ ! -z "${svnversion}" ] ; then
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410091235.s99CZIAQ058066>