Description: doc/texinfo2HTML
 Bug fix: "FTBFS: Can't locate getopts.pl in @INC", thanks to
 Andreas Moog (Closes: #735914). Fixed doc/texinfo2HTML here and upstream.
Author: Peter S Galbraith <psg@debian.org>
Bug-Debian: http://bugs.debian.org/735914

--- gri-2.12.23.orig/doc/texinfo2HTML
+++ gri-2.12.23/doc/texinfo2HTML
@@ -56,17 +56,14 @@ BUGS:
 ";
 #require "ctime.pl";
 use POSIX qw(ctime);
-require "getopts.pl";
-
-$debug = 0;
-
-die if !&Getopts('h');
-$print_help = 0;
-$print_help = $opt_h if $opt_h;
-if ($print_help) {
+use Getopt::Std;
+&getopts('h');
+if ($opt_h) {
     print "$usage";
     exit 0;
 }
+$debug = 0;
+
 #$date = &ctime(time);
 $date = &ctime(time);
 chop($date);
