perl: replace 910-miniperl-needs-inc-dot.patch with smaller scope fix
authorMatthias Schiffer <redacted>
Fri, 25 Apr 2025 00:06:17 +0000 (02:06 +0200)
committerRobert Marko <redacted>
Mon, 5 May 2025 09:20:38 +0000 (11:20 +0200)
commit2a7dc154027503d4cdfd3aa927616d365183be12
tree1aeb83475765129c0452cd6b02cf157e107d36e0
parent434eaba41fadd3058f1e5e5fc833d0e205f3ec96
perl: replace 910-miniperl-needs-inc-dot.patch with smaller scope fix

The patch was first introduced in commit 4a94479f9652 ("perl: update to
5.26.1") to fix the target build when the host perl has
default_inc_excludes_dot enabled. It just added back the `-I`. to every
call of miniperl; this solution is questionable however, as it adds `.` to
the beginning of the search path, not as a final fallback like perl did
before default_inc_excludes_dot (and like miniperl does).

It is also not necessary - only two scripts, write_buildcustomize.pl and
configpm, expect to be able to include a file from `.` (in both cases a
file the script just generated). Just fix the two scripts instead.

Signed-off-by: Matthias Schiffer <redacted>
lang/perl/patches/910-fix-default_inc_excludes_dot.patch [new file with mode: 0644]
lang/perl/patches/910-miniperl-needs-inc-dot.patch [deleted file]
git clone https://git.99rst.org/PROJECT