From owner-svn-ports-all@freebsd.org Fri May 6 20:57:57 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14741B2D1D3; Fri, 6 May 2016 20:57:57 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB25A1A5D; Fri, 6 May 2016 20:57:56 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u46KvuQM006569; Fri, 6 May 2016 20:57:56 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u46KvuVG006567; Fri, 6 May 2016 20:57:56 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201605062057.u46KvuVG006567@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 6 May 2016 20:57:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r414724 - head/Templates X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 20:57:57 -0000 Author: marino Date: Fri May 6 20:57:55 2016 New Revision: 414724 URL: https://svnweb.freebsd.org/changeset/ports/414724 Log: Cache ac_cv_sys_long_file_names conftest result (always yes) There are a few ports that check for long file name support during configuration, but the conftest actually modifies $LOCALBASE/lib when the port is built by the root user. By caching the result (yes), the test is avoiding and so is the consequential file system violation. (The synth test option can detect this FS violation.) Differential Revision: https://reviews.freebsd.org/D6160 Approved by: portmgr (bapt@, bdrewery@) Modified: head/Templates/config.site Modified: head/Templates/config.site ============================================================================== --- head/Templates/config.site Fri May 6 19:55:06 2016 (r414723) +++ head/Templates/config.site Fri May 6 20:57:55 2016 (r414724) @@ -731,6 +731,9 @@ : ${ac_cv_have_decl_wmemset=yes} : ${ac_cv_have_decl_writev=yes} +# long file name support test invasively touches localbase, always true +: ${ac_cv_sys_long_file_names=yes} + # function specific : ${gl_cv_func_btowc_eof=yes}