Date: Thu, 21 Jan 2016 05:25:44 +0000 (UTC) From: Greg Lewis <glewis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406824 - head/java/openjdk8/files Message-ID: <201601210525.u0L5PixR080232@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glewis Date: Thu Jan 21 05:25:44 2016 New Revision: 406824 URL: https://svnweb.freebsd.org/changeset/ports/406824 Log: . Unreak CCACHE PR: 205751 Submitted by: chris@chrullrich.net Added: head/java/openjdk8/files/patch-common-autoconf-build-performance.m4 (contents, props changed) head/java/openjdk8/files/patch-common-autoconf-generated-configure.sh (contents, props changed) Added: head/java/openjdk8/files/patch-common-autoconf-build-performance.m4 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/openjdk8/files/patch-common-autoconf-build-performance.m4 Thu Jan 21 05:25:44 2016 (r406824) @@ -0,0 +1,11 @@ +--- common/autoconf/build-performance.m4 Sat Oct 24 06:20:56 2015 -0700 ++++ common/autoconf/build-performance.m4 Wed Jan 20 21:11:23 2016 -0800 +@@ -212,7 +212,7 @@ + # Only use ccache if it is 3.1.4 or later, which supports + # precompiled headers. + AC_MSG_CHECKING([if ccache supports precompiled headers]) +- HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split($3, a, "."); if (a@<:@1@:>@ >= 3 && (a@<:@2@:>@ > 1 || (a@<:@2@:>@ == 1 && a@<:@3@:>@ >= 4))) print "yes"; else print "no"; }') 2> /dev/null` ++ HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split(@S|@3, a, "."); if (a@<:@1@:>@ >= 3 && (a@<:@2@:>@ > 1 || (a@<:@2@:>@ == 1 && a@<:@3@:>@ >= 4))) print "yes"; else print "no"; }') 2> /dev/null` + if test "x$HAS_GOOD_CCACHE" = xyes; then + AC_MSG_RESULT([no, disabling ccache]) + CCACHE= Added: head/java/openjdk8/files/patch-common-autoconf-generated-configure.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/java/openjdk8/files/patch-common-autoconf-generated-configure.sh Thu Jan 21 05:25:44 2016 (r406824) @@ -0,0 +1,11 @@ +--- common/autoconf/generated-configure.sh Sat Oct 24 06:20:56 2015 -0700 ++++ common/autoconf/generated-configure.sh Wed Jan 20 21:11:45 2016 -0800 +@@ -36324,7 +36324,7 @@ + # precompiled headers. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ccache supports precompiled headers" >&5 + $as_echo_n "checking if ccache supports precompiled headers... " >&6; } +- HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split(, a, "."); if (a[1] >= 3 && (a[2] > 1 || (a[2] == 1 && a[3] >= 4))) print "yes"; else print "no"; }') 2> /dev/null` ++ HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | awk '{ split($3, a, "."); if (a[1] >= 3 && (a[2] > 1 || (a[2] == 1 && a[3] >= 4))) print "yes"; else print "no"; }') 2> /dev/null` + if test "x$HAS_GOOD_CCACHE" = xyes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabling ccache" >&5 + $as_echo "no, disabling ccache" >&6; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601210525.u0L5PixR080232>