svn commit: r414724 - head/Templates

Bryan Drewery bdrewery at FreeBSD.org
Mon May 9 18:18:11 UTC 2016


On 5/6/2016 1:57 PM, John Marino wrote:
> 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}
> 

Thanks for this. I just ran into this on an older checkout and had never
realized it. Your fix worked great.

-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20160509/71bbe88d/attachment.sig>


More information about the svn-ports-head mailing list