From 93916d9b99cd61bd57050d7e720a373341c00306 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sat, 25 Jan 2025 20:12:21 +0100 Subject: Add support for HAIKU_USE_VENDOR_DIRECTORIES diff --git a/lib/ExtUtils/InstallPaths.pm b/lib/ExtUtils/InstallPaths.pm index dd276a0..86ed286 100644 --- a/lib/ExtUtils/InstallPaths.pm +++ b/lib/ExtUtils/InstallPaths.pm @@ -12,7 +12,7 @@ my %complex_accessors = map { $_ => 1 } qw/prefix_relpaths install_sets/; my %hash_accessors = map { $_ => 1 } qw/install_path install_base_relpaths original_prefix /; my %defaults = ( - installdirs => 'site', + installdirs => $ENV{'HAIKU_USE_VENDOR_DIRECTORIES'} ? 'vendor' : 'site', install_base => undef, prefix => undef, verbose => 0, -- 2.45.2