diff options
author | marino <marino@FreeBSD.org> | 2016-05-07 04:57:55 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-05-07 04:57:55 +0800 |
commit | 6b96c778932e181034a97d4fce168cc043efcaad (patch) | |
tree | a27a8e9f621edc00407e9efb9b86ee98103577de /Templates/config.site | |
parent | f0825e1fd558b5472709bcc4e3fdddbd3ec11033 (diff) | |
download | freebsd-ports-gnome-6b96c778932e181034a97d4fce168cc043efcaad.tar.gz freebsd-ports-gnome-6b96c778932e181034a97d4fce168cc043efcaad.tar.zst freebsd-ports-gnome-6b96c778932e181034a97d4fce168cc043efcaad.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@)
Diffstat (limited to 'Templates/config.site')
-rw-r--r-- | Templates/config.site | 3 |
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} |