Files
haikuports/dev-perl/file_sharedir_install/patches/file_sharedir_install-0.14.patchset
2024-11-03 19:02:51 +01:00

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