Tuesday, October 25, 2022

config.site - We do not have ctermid_r

Python 3.11 wouldn't compiler because it decided we have ctermid_r, which
we don't. So boom.

Except, it didn't decide it. It took our word for it. Our config.site
has ac_cv_func_ctermid_r=yes in it. The new version of the Python check
just uses the cached result, which is wrong.

So this rectifies that. With that, the Python 3.11 check works properly.

ok?

--Kurt

Index: config.site
===================================================================
RCS file: /cvs/ports/infrastructure/db/config.site,v
retrieving revision 1.30
diff -u -p -r1.30 config.site
--- config.site 10 Nov 2017 07:10:02 -0000 1.30
+++ config.site 25 Oct 2022 18:06:40 -0000
@@ -140,7 +140,7 @@ ac_cv_func_connect=${ac_cv_func_connect=
ac_cv_func_crc32=${ac_cv_func_crc32=yes}
ac_cv_func_crypt=${ac_cv_func_crypt=yes}
ac_cv_func_ctermid=${ac_cv_func_ctermid=yes}
-ac_cv_func_ctermid_r=${ac_cv_func_ctermid_r=yes}
+ac_cv_func_ctermid_r=${ac_cv_func_ctermid_r=no}
ac_cv_func_ctime=${ac_cv_func_ctime=yes}
ac_cv_func_ctime_r=${ac_cv_func_ctime_r=yes}
ac_cv_func_daemon=${ac_cv_func_daemon=yes}

No comments:

Post a Comment