ruby-changes:72481
From: Jeremy <ko1@a...>
Date: Sat, 9 Jul 2022 13:08:43 +0900 (JST)
Subject: [ruby-changes:72481] 2725c5dbe0 (master): Fix invalid mkdir detection on OpenBSD
https://git.ruby-lang.org/ruby.git/commit/?id=2725c5dbe0 From 2725c5dbe0b8c9da3d8fb69d552c7af2dfa4a5b5 Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Fri, 8 Jul 2022 12:52:40 -0700 Subject: Fix invalid mkdir detection on OpenBSD This was broken by 67e54ce4081abaa16774b93ccd33ccbd1d6c6531, which resulted in " -d" being used as the mkdir_p program. I think this is because $ac_install_sh has been set to '' at the point it is used. There's probably a better way to fix this, but this should allow the OpenBSD CI to continue to work until a better fix is in place. --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index 081cbac074..4fe1623966 100644 --- a/configure.ac +++ b/configure.ac @@ -492,6 +492,11 @@ AS_CASE(["$target_os"], https://github.com/ruby/ruby/blob/trunk/configure.ac#L492 AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_INSTALL + +AS_CASE(["$target_os"],[openbsd*],[ + ac_cv_path_mkdir="mkdir" +]) + RUBY_PROG_MAKEDIRS AC_CHECK_PROG([DTRACE], [${ac_tool_prefix}dtrace], [${ac_tool_prefix}dtrace]) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/