aboutsummaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-05-06 20:57:55 +0000
committerJohn Marino <marino@FreeBSD.org>2016-05-06 20:57:55 +0000
commit76d8477ed9d806e5188478b308d2854e89929d61 (patch)
treea27a8e9f621edc00407e9efb9b86ee98103577de /Templates
parentc69257ec23205f2257b711b54f3ec22f97e56d7f (diff)
downloadports-76d8477ed9d806e5188478b308d2854e89929d61.tar.gz
ports-76d8477ed9d806e5188478b308d2854e89929d61.zip
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@)
Notes
Notes: svn path=/head/; revision=414724
Diffstat (limited to 'Templates')
-rw-r--r--Templates/config.site3
1 files changed, 3 insertions, 0 deletions
diff --git a/Templates/config.site b/Templates/config.site
index 44788ce8d549..cf314a6156bf 100644
--- a/Templates/config.site
+++ b/Templates/config.site
@@ -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}