$NetBSD: patch-alr__env.gpr,v 1.3 2025/04/27 10:43:42 dkazankov Exp $ Add NetBSD support Change build type to avoid runtime check exceptions --- alr_env.gpr.orig 2025-03-04 10:02:00.000000000 +0000 +++ alr_env.gpr @@ -42,13 +42,14 @@ case Alire_Common.Host_Os is when "freebsd" => for External ("GNATCOLL_OS") use "unix"; when "openbsd" => for External ("GNATCOLL_OS") use "unix"; + when "netbsd" => for External ("GNATCOLL_OS") use "unix"; when "linux" => for External ("GNATCOLL_OS") use "unix"; when "macos" => for External ("GNATCOLL_OS") use "osx"; when "windows" => for External ("GNATCOLL_OS") use "windows"; end case; for External ("LIBRARY_TYPE") use "static"; - for External ("BUILD") use "DEBUG"; + for External ("BUILD") use "PROD"; -- The user must set ALIRE_OS before building. See the list of valid values -- in alire_common.gpr