This is an automated email from the ASF dual-hosted git repository.

szaszm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit f04f222b8d455002748828acbac059c7d33a137d
Author: Ferenc Gerlits <[email protected]>
AuthorDate: Tue Feb 18 13:30:47 2025 +0100

    MINIFICPP-2523 Fix Chocolatey package name for m4
    
    If you run the (python) bootstrap script on Windows, and m4 is not already 
installed, the script tries to install it using Chocolatey. But it used to 
fail, because the package is called "gnuwin32-m4", not "m4".
    
    Closes #1924
    
    Signed-off-by: Marton Szasz <[email protected]>
---
 bootstrap/package_manager.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bootstrap/package_manager.py b/bootstrap/package_manager.py
index 99a51b4d3..5f061b3a8 100644
--- a/bootstrap/package_manager.py
+++ b/bootstrap/package_manager.py
@@ -277,6 +277,7 @@ class ChocolateyPackageManager(PackageManager):
                                     "autoconf": set(),
                                     "libtool": set(),
                                     "make": set(),
+                                    "m4": {"gnuwin32-m4"},
                                     "perl": {"strawberryperl", "NASM"}})
         return True
 

Reply via email to