Unverified Commit ba74a62a authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

autoconf: patch to work with uutils-coreutils

parent 5430ebb2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,10 @@ stdenv.mkDerivation rec {
    hash = "sha256-uohcExlXjWyU1G6bDc60AUyq/iSQ5Deg28o/JwoiP1o=";
  };

  patches = [
    ./uutils-mkdirp.patch
  ];

  strictDeps = true;
  nativeBuildInputs = [
    m4
+14 −0
Original line number Diff line number Diff line
diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4
index 8226a7c..3b231b9 100644
--- a/lib/autoconf/programs.m4
+++ b/lib/autoconf/programs.m4
@@ -701,7 +701,8 @@ if test -z "$MKDIR_P"; then
 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
 	     'mkdir ('*'coreutils) '* | \
 	     *'BusyBox '* | \
-	     'mkdir (fileutils) '4.1*)
+	     'mkdir (fileutils) '4.1* | \
+       'mkdir 0.0.'*)
 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
 	       break 3;;
 	   esac