mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-15 08:10:07 +02:00
24 lines
905 B
Plaintext
24 lines
905 B
Plaintext
From 76e2eb376618956ac3e54505d49a2f4018f73d3d Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= <j.mairboeck@gmail.com>
|
|
Date: Sun, 27 Oct 2024 17:51:32 +0100
|
|
Subject: fix makefile tests
|
|
|
|
The SITEPREFIX contains 'non-packaged' on Haiku.
|
|
|
|
diff --git a/t/10_makefile.t b/t/10_makefile.t
|
|
index 7c3bf07..3d45253 100644
|
|
--- a/t/10_makefile.t
|
|
+++ b/t/10_makefile.t
|
|
@@ -82,7 +82,7 @@ unless( $content =~ m(INSTALLSITELIB = (.+)) ) {
|
|
}
|
|
else {
|
|
$TOP = "$1/auto/share";
|
|
- $TOP =~ s/\$\(SITEPREFIX\)/troot-$$/;
|
|
+ $TOP =~ s/\$\(SITEPREFIX\)/troot-$$\/non-packaged/;
|
|
ok( -f "$TOP/dist/File-ShareDir-Install/honk", "Copied to blib for dist - regular file" );
|
|
ok( -f "$TOP/dist/File-ShareDir-Install/hello world", "Copied to blib for dist - file with spaces" );
|
|
ok( -f "$TOP/dist/File-ShareDir-Install/#hello", "Copied to blib for dist - file with special char" );
|
|
--
|
|
2.45.2
|
|
|