ports/textproc/greple/files/patch-bin_greple
Hiroki Sato bcecbd8f51 Add textproc/greple and devel/p5-Getopt-EX, which greple depends on.
Greple is an egrep-like command-line tool which supports keyword search
in a way similar to popular WWW search engines in addition to regex.
2017-03-31 09:11:09 +00:00

18 lines
398 B
Text

--- bin/greple.orig 2017-03-31 08:39:29 UTC
+++ bin/greple
@@ -43,15 +43,6 @@ use Encode::Guess;
##
use warnings FATAL => 'utf8';
-##
-## Setup greple/lib to be a module directory if exists.
-##
-BEGIN {
- if ((my $lib = abs_path($0)) =~ s{/ \K (?:bin/)? \w+ $}{lib}x) {
- push @INC, $lib if -d "$lib/App/Greple";
- }
-}
-
use Getopt::EX::Loader;
use Getopt::EX::Func qw(parse_func);