Files
gentoo/dev-perl/Unicode-LineBreak/files/Unicode-LineBreak-2019.1.0-which.patch
Cristian Othón Martínez Vera a54aa3d264 dev-perl/Unicode-LineBreak: remove which from Makefile.PL
Closes: https://bugs.gentoo.org/967045
Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx>
Part-of: https://github.com/gentoo/gentoo/pull/44973
Closes: https://github.com/gentoo/gentoo/pull/44973
Signed-off-by: Sam James <sam@gentoo.org>
2026-01-10 12:53:42 +00:00

14 lines
379 B
Diff

Bug: https://bugs.gentoo.org/967045
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -209,7 +209,7 @@
sub CheckExternalDependencies {
my @dependencies = @_;
for my $program (@dependencies) {
- if (system("which $program > /dev/null") != 0) {
+ if (system("command -v $program > /dev/null") != 0) {
warn "W: Required test dependency not found: $program\n";
}
}