mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
extutils_installpaths: new perl module recipe
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user