$NetBSD: patch-aa,v 1.1.1.1 2009/05/17 10:20:36 sno Exp $ Do not prompt for pkgsrc provided utils --- Makefile.PL.orig 2007-10-16 21:36:07.000000000 +0000 +++ Makefile.PL 2009-05-17 10:03:54.000000000 +0000 @@ -39,14 +39,14 @@ #------------------------------------------------------------------------ -our $LATEX = ttprompt('latex path', find_program($ENV{PATH}, "latex")); -our $PDFLATEX = ttprompt('pdflatex path', find_program($ENV{PATH}, "pdflatex")); -our $BIBTEX = ttprompt('bibtex path', find_program($ENV{PATH}, "bibtex")); -our $MAKEINDEX = ttprompt('makeindex path', find_program($ENV{PATH}, "makeindex")); -our $DVIPS = ttprompt('dvips path', find_program($ENV{PATH}, "dvips")); -our $DVIPDFM = ttprompt('dvipdfm path', find_program($ENV{PATH}, "dvipdfm")); -our $PS2PDF = ttprompt('ps2pdf path', find_program($ENV{PATH}, "ps2pdf")); -our $PDF2PS = ttprompt('pdf2ps path', find_program($ENV{PATH}, "pdf2ps")); +our $LATEX = find_program($ENV{PATH}, "latex"); +our $PDFLATEX = find_program($ENV{PATH}, "pdflatex"); +our $BIBTEX = find_program($ENV{PATH}, "bibtex"); +our $MAKEINDEX = find_program($ENV{PATH}, "makeindex"); +our $DVIPS = find_program($ENV{PATH}, "dvips"); +our $DVIPDFM = find_program($ENV{PATH}, "dvipdfm"); +our $PS2PDF = find_program($ENV{PATH}, "ps2pdf"); +our $PDF2PS = find_program($ENV{PATH}, "pdf2ps"); if (!$LATEX and !$PDFLATEX) { my $continue = ttprompt('You don\'t seem to have LaTeX installed. Continue anyway?', 'N'); @@ -65,7 +65,7 @@ #------------------------------------------------------------------------ my %opts = ( - 'NAME' => 'LaTeX-Driver', + 'NAME' => 'LaTeX::Driver', 'VERSION_FROM' => 'lib/LaTeX/Driver.pm', 'EXE_FILES' => [ 'scripts/latex2dvi', 'scripts/latex2pdf', 'scripts/latex2ps' ], 'PMLIBDIRS' => [ 'lib' ],