summaryrefslogtreecommitdiff
path: root/www/p5-Template-Toolkit/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Template-Toolkit/patches/patch-aa')
-rw-r--r--www/p5-Template-Toolkit/patches/patch-aa137
1 files changed, 137 insertions, 0 deletions
diff --git a/www/p5-Template-Toolkit/patches/patch-aa b/www/p5-Template-Toolkit/patches/patch-aa
new file mode 100644
index 00000000000..a40b32066d3
--- /dev/null
+++ b/www/p5-Template-Toolkit/patches/patch-aa
@@ -0,0 +1,137 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/02 18:08:27 nra Exp $
+
+--- Makefile.PL.orig Thu Jun 14 03:59:04 2001
++++ Makefile.PL Fri Jun 29 10:10:31 2001
+@@ -10,7 +10,7 @@
+ $TT_LATEX_PATH $TT_PDFLATEX_PATH $TT_DVIPS_PATH $TT_LATEX_ENABLE
+ $TT_SPLASH_THEME );
+
+-$TT_INST_ROOT = '/usr/local/tt2';
++$TT_INST_ROOT = '/usr/pkg/share/tt2';
+ $TT_IMAGES = '/tt2/images';
+ $TT_RUN_DBI = 'y';
+ $TT_BUILD_DOCS = 'y';
+@@ -191,16 +191,16 @@
+ $TT_LATEX_ENABLE = 'n';
+ }
+ $TT_LATEX_ENABLE ||= 'y';
+-$TT_LATEX_ENABLE = (
+- prompt('Do you want to enable the latex filter?',
+- $TT_LATEX_ENABLE) =~ /^y/i
+-);
++#$TT_LATEX_ENABLE = (
++# prompt('Do you want to enable the latex filter?',
++# $TT_LATEX_ENABLE) =~ /^y/i
++#);
+ if ( $TT_LATEX_ENABLE ) {
+- if (prompt('Are the pdflatex, latex and dvips paths ok?', 'y') !~ /^y/i) {
+- $TT_PDFLATEX_PATH = prompt('pdflatex path', $TT_PDFLATEX_PATH);
+- $TT_LATEX_PATH = prompt('latex path', $TT_LATEX_PATH);
+- $TT_DVIPS_PATH = prompt('dvips path', $TT_DVIPS_PATH);
+- }
++# if (prompt('Are the pdflatex, latex and dvips paths ok?', 'y') !~ /^y/i) {
++# $TT_PDFLATEX_PATH = prompt('pdflatex path', $TT_PDFLATEX_PATH);
++# $TT_LATEX_PATH = prompt('latex path', $TT_LATEX_PATH);
++# $TT_DVIPS_PATH = prompt('dvips path', $TT_DVIPS_PATH);
++# }
+ } else {
+ #
+ # Empty paths will cause the latex filter to throw an error
+@@ -237,7 +237,8 @@
+
+ EOF
+
+-if (prompt('Do you want to install these components?', 'y') =~ /^y/i) {
++if (1) {
++#prompt('Do you want to install these components?', 'y') =~ /^y/i) {
+ print <<EOF;
+
+ You can chose any directory for the installation of the additional
+@@ -246,8 +247,8 @@
+ for other platforms welcome).
+
+ EOF
+- $TT_INST_ROOT = prompt('Installation directory',
+- $TT_INST_ROOT);
++# $TT_INST_ROOT = prompt('Installation directory',
++# $TT_INST_ROOT);
+ }
+ else {
+ $TT_INST_ROOT = '';
+@@ -304,7 +305,7 @@
+ EOF
+ }
+
+- $TT_IMAGES = prompt('URL base for TT2 images?', $TT_IMAGES);
++# $TT_IMAGES = prompt('URL base for TT2 images?', $TT_IMAGES);
+ $TT_IMAGES =~ s[/$][]g; # just in case
+ fix_file('templates/splash/config', 'images', "$TT_IMAGES/splash");
+ }
+@@ -338,10 +339,10 @@
+
+ EOF
+
+- $TT_BUILD_DOCS = (
+- prompt('Do you want to build the HTML documentation?',
+- $TT_BUILD_DOCS) =~ /^y/i
+- );
++# $TT_BUILD_DOCS = (
++# prompt('Do you want to build the HTML documentation?',
++# $TT_BUILD_DOCS) =~ /^y/i
++# );
+
+ #--------------------------------------------------------------------
+ # prompt for docs style: plain or splash
+@@ -356,10 +357,10 @@
+ use plain HTML.
+
+ EOF
+- $TT_SPLASH_DOCS = (
+- prompt('Do you want to use the Splash! library?',
+- $TT_SPLASH_DOCS) =~ /^y/i
+- );
++# $TT_SPLASH_DOCS = (
++# prompt('Do you want to use the Splash! library?',
++# $TT_SPLASH_DOCS) =~ /^y/i
++# );
+
+ if ($TT_SPLASH_DOCS) {
+ my $splash_style = '';
+@@ -379,7 +380,7 @@
+ print "\n";
+
+ while (! $splash_style) {
+- $TT_SPLASH_THEME = prompt("Enter name of colour scheme: ", $TT_SPLASH_THEME);
++# $TT_SPLASH_THEME = prompt("Enter name of colour scheme: ", $TT_SPLASH_THEME);
+ print("! No such scheme\n"), $TT_SPLASH_THEME = 'default'
+ unless ($splash_style = $SPLASH_STYLES->{ $TT_SPLASH_THEME });
+ }
+@@ -437,10 +438,10 @@
+
+ EOF
+
+- $TT_EXAMPLES = (
+- prompt('Do you want to build the HTML example pages?',
+- $TT_EXAMPLES) =~ /^y/i
+- );
++# $TT_EXAMPLES = (
++# prompt('Do you want to build the HTML example pages?',
++# $TT_EXAMPLES) =~ /^y/i
++# );
+
+ #--------------------------------------------------------------------
+ # write ttree config file for building examples
+@@ -698,9 +699,10 @@
+
+ print "[X] version $DBI::VERSION installed, configuring tests\n\n";
+
+- if (prompt("Do you want to run the DBI tests?\n" .
+- "It requires access to an existing test database.",
+- $TT_RUN_DBI) =~ /y/i) {
++ if (0) {
++#prompt("Do you want to run the DBI tests?\n" .
++# "It requires access to an existing test database.",
++# $TT_RUN_DBI) =~ /y/i) {
+
+ $TT_RUN_DBI = 1;
+ my ($driver, $dbname);