From 16a3f0e337c8ba89fad22420a48e2fc5425c6060 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Tue, 14 Jul 2009 23:38:31 +0000 Subject: - Fix build with custom LOCALBASE Reported by: QATty Submitted by: Cezary Morga --- lang/p5-Tcl/files/patch-Makefile.PL | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/p5-Tcl/files/patch-Makefile.PL diff --git a/lang/p5-Tcl/files/patch-Makefile.PL b/lang/p5-Tcl/files/patch-Makefile.PL new file mode 100644 index 00000000000..2ac6a594f2e --- /dev/null +++ b/lang/p5-Tcl/files/patch-Makefile.PL @@ -0,0 +1,12 @@ +--- ./Makefile.PL.orig 2009-07-14 19:34:21.530175414 -0400 ++++ ./Makefile.PL 2009-07-14 19:35:55.039877625 -0400 +@@ -192,8 +192,8 @@ + $defs .= " -DTCL_LIB_FILE=\\\"tcl$tclver.dll\\\"" if $usestubs; + } + elsif ($^O eq 'freebsd') { ++ $tclcfg{tcl_library} =~ /^(.*)[\\\/]lib[\\\/]/ and $incpath .= " -I$1/include/tcl$tclver"; + $tclver=~s/\.//; +- $tclsh=~/([\d.]+)$/ and $incpath .= " -I/usr/local/include/tcl$1"; + $defs .= " -DTCL_LIB_FILE=\\\"libtcl$tclver.so\\\"" if $usestubs; + } + elsif ($^O eq 'hpux') { -- cgit