summaryrefslogtreecommitdiff
path: root/lang/tclX/files/patch-af
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2007-03-26 17:11:37 +0000
committerThierry Thomas <thierry@FreeBSD.org>2007-03-26 17:11:37 +0000
commitd3f0ec500755648b3037b8315802c3dd0e0fcb0e (patch)
tree0f80705654803be89a86048c211d2fb4112bf3ea /lang/tclX/files/patch-af
parentUse USE_TK_BUILD and REINPLACE_CMD. (diff)
- Fix a breakage caused by revision v 1.91 of ports/lang/tcl84/Makefile
- Switch to USE_TCL - s/INSTALLS_SHLIB/USE_LDCONFIG/ - Support tcl84-thread - Fix tclsh detection in configure - Pet portlint. Note: this port is still broken, because a test is failing, and tests are part of the all target. PR: ports/110805 Submitted by: /me Approved by: mi (excepted the move of tests to a regression-test target)
Notes
Notes: svn path=/head/; revision=188400
Diffstat (limited to 'lang/tclX/files/patch-af')
-rw-r--r--lang/tclX/files/patch-af25
1 files changed, 18 insertions, 7 deletions
diff --git a/lang/tclX/files/patch-af b/lang/tclX/files/patch-af
index a9339d197188..e5609d5c2c3f 100644
--- a/lang/tclX/files/patch-af
+++ b/lang/tclX/files/patch-af
@@ -1,6 +1,7 @@
---- unix/tools/bldmanhelp.tcl Thu Dec 2 15:33:05 2004
-+++ unix/tools/bldmanhelp.tcl Mon Jun 26 19:51:14 2006
-@@ -12,8 +12,7 @@
+--- ./unix/tools/bldmanhelp.tcl.orig Thu Dec 2 21:33:05 2004
++++ ./unix/tools/bldmanhelp.tcl Sun Mar 25 17:07:36 2007
+@@ -11,10 +11,9 @@
+ #
# The command line is:
#
-# bldmanhelp docdir maninfo helpdir
@@ -10,13 +11,18 @@
-# o docdir is the directory containing the manual pages.
# o maninfo is the path to a file that when sources returns a list of
# entries describing manual pages to convert. Each entry is a list
-@@ -70,15 +69,27 @@
+ # of manual file and the path of the help file to generate.
+@@ -69,17 +68,32 @@
+ proc CopyManPage {manPage outFH} {
global skipSection
- set stat [catch {
- open $manPage
- } fh]
+ set section [lindex [split $manPage .] end]
++ if {$section == "macros"} {
++ return
++ }
+ set manPage [file rootname $manPage]
+ set manPage [split [exec man -w $section $manPage] ":)"]
+ if {[llength $manPage] > 1} { # Get the source, not from cat
@@ -42,7 +48,9 @@
+ {.so man.macros} {}
.so* {
CopyManPage [lindex $line 1] $outFH
-@@ -120,9 +131,8 @@
+ }
+@@ -119,11 +133,10 @@
+ # for input to buildhelp.
#
-proc GenInputFile {docDir manInfoTbl tmpFile} {
@@ -53,16 +61,19 @@
- cd $docDir
foreach ent $manInfoTbl {
-@@ -145,5 +155,4 @@
+ puts stdout " preprocessing $ent"
+@@ -144,13 +157,12 @@
+
set tmpFile "bldmanhelp.tmp"
-set docDir [lindex $argv 0]
set manInfoTbl [source [lindex $argv 1]]
set helpDir [lindex $argv 2]
-@@ -151,5 +160,5 @@
+ set brief [lindex $argv 3]
puts stdout "Begin preprocessing UCB manual files"
-GenInputFile $docDir $manInfoTbl $tmpFile
+GenInputFile $manInfoTbl $tmpFile
buildhelp $helpDir $brief [list $tmpFile]
+