pkgsrc/print/p5-LaTeX-Driver/patches/patch-aa
sno 6c0df5b7f4 Updating LaTeX::Driver module for Perl programming language in
print/p5-LaTeX-Driver from 0.08nb3 to 0.10.

pkgsrc changes:
- fix whitespaces in Makefile.PL patch

Upstream changes:
#------------------------------------------------------------------------
# Version 0.10 - 2011-09-18
#------------------------------------------------------------------------

* use system tmp directory rather than hardcoded /tmp
* Makefile.PL exits if latex binary is not found (rather than dieing

#------------------------------------------------------------------------
# Version 0.09 - 2011-08-18
#------------------------------------------------------------------------

* Tidied up for perlcritic
2011-11-11 11:37:08 +00:00

38 lines
1.8 KiB
Text

$NetBSD: patch-aa,v 1.2 2011/11/11 11:37:08 sno Exp $
Do not prompt for pkgsrc provided utils
--- Makefile.PL.orig 2011-09-18 09:27:31.000000000 +0000
+++ Makefile.PL
@@ -39,14 +39,14 @@ EOF
#------------------------------------------------------------------------
-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 @@ fix_path_assignment(catfile('lib','LaTeX
#------------------------------------------------------------------------
my %opts = (
- 'NAME' => 'LaTeX-Driver',
+ 'NAME' => 'LaTeX::Driver',
'VERSION' => $MODVERSION,
'EXE_FILES' => [ 'scripts/latex2dvi', 'scripts/latex2pdf', 'scripts/latex2ps' ],
'PMLIBDIRS' => [ 'lib' ],