extutils_installpaths: bump to version 0.015

This commit is contained in:
Joachim Mairböck
2025-12-25 18:37:18 +01:00
parent bf66fe96e1
commit 489c10916c
2 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
From 93916d9b99cd61bd57050d7e720a373341c00306 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= <j.mairboeck@gmail.com>
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