summaryrefslogtreecommitdiff
path: root/dev-perl/Unicode-LineBreak/files/Unicode-LineBreak-2019.1.0-which.patch
blob: a09830fe13ae5acdcda8ca1ca1f9491c41327b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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";
     }
   }