summaryrefslogtreecommitdiff
path: root/dev-perl/GnuPG-Interface/files/GnuPG-Interface-1.30.0-which-hunt.patch
blob: 5e7f8b6a3efe32244aac5a413c7b0c9ddcf94892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
We don't want to rely on sys-apps/which and it doesn't serve much purpose
to do this check at all. We already die if we can't find the gpg version
on the next line anyway.
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -3,10 +3,6 @@ use strict;
 use warnings;
 use inc::Module::Install;
 
-print "which gpg ... ";
-system("which", "gpg");
-die "gpg (GnuPG) not found" if ( $? != 0 );
-
 my $output = `gpg --version`;
 die "Can't determine gpg version"
     unless $output =~ /^gpg \(GnuPG.*?\) (\d+\.\d+)/;