diff options
author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-14 23:38:31 +0000 |
---|---|---|
committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2009-07-14 23:38:31 +0000 |
commit | b0b530d07c166ed96f0ed1b6a60450d2c706673c (patch) | |
tree | 0266c3933ac70db15e04b1abd88210403dc31f23 /lang/p5-Tcl/files | |
parent | 251388491eb899039115b40167f08bea95bceeda (diff) |
Notes
Diffstat (limited to 'lang/p5-Tcl/files')
-rw-r--r-- | lang/p5-Tcl/files/patch-Makefile.PL | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/p5-Tcl/files/patch-Makefile.PL b/lang/p5-Tcl/files/patch-Makefile.PL new file mode 100644 index 000000000000..2ac6a594f2e5 --- /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') { |