aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL')
-rw-r--r--x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL b/x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL
new file mode 100644
index 000000000000..a4920f40e728
--- /dev/null
+++ b/x11-toolkits/p5-Tcl-Tk/files/patch-Makefile.PL
@@ -0,0 +1,20 @@
+--- Makefile.PL.orig Tue Oct 31 22:24:07 2006
++++ Makefile.PL Tue Oct 31 22:25:37 2006
+@@ -23,17 +23,6 @@
+ $tclsh = $ENV{'TCLSH_PROG'};
+ }
+
+-open TCLSH, "$tclsh test-for-tk.tcl|";
+-my $res = join '', <TCLSH>;
+-
+-unless ($res =~ /^ok/m) {
+- die <<EOS;
+-
+-Your Tcl installation ($tclsh) fails to find Tk package.
+-One of possible reasons is missing file 'pkgIndex.tcl' in ..../tk8.4/
+-directory; Please check if you can feed 'package require Tk' to tclsh
+-EOS
+-}
+
+ WriteMakefile(
+ NAME => "Tcl::Tk",