From 53e9dd6aa933c1a5b43da83a88d5e07bf27285bf Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 28 Oct 2026 03:05:09 +0900 Subject: internal/rosa: do not hard code prefix This allows the prefix to be changed, at runtime if needed. Signed-off-by: Ophestra --- internal/rosa/package/perl.az | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/rosa/package/perl.az') diff --git a/internal/rosa/package/perl.az b/internal/rosa/package/perl.az index 3009c75b..828fcab4 100644 --- a/internal/rosa/package/perl.az +++ b/internal/rosa/package/perl.az @@ -16,7 +16,7 @@ package perl { writable = true; chmod = true; early = ` -chmod +w /system/bin && rm -f /system/bin/ps # perl does not like toybox ps +chmod +w `+prefix+`/bin && rm -f `+prefix+`/bin/ps # perl does not like toybox ps function disable_test { echo 'print STDOUT "1..0 # Skip broken test\n";' > "$1" @@ -35,7 +35,7 @@ disable_test ext/POSIX/t/time.t configureName = "./Configure"; configure = { "-des"; - "Dprefix": "/system"; + "Dprefix": prefix; "Dcc": "clang"; "Dcflags": "--std=gnu99"; "Dldflags": `"${LDFLAGS:-''}"`; @@ -73,7 +73,7 @@ package perl-Module-Build { exec = generic { chdir = false; build = ` -perl Build.PL --prefix=/system +perl Build.PL --prefix=`+prefix+` ./Build build`; check = ` ./Build test`; -- cgit v1.3.1