aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tcltk/tcl-8.5.8/manpages.diff
blob: 3dd75b8408cc269936a1fc58970b79229242a412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Patch by Chris Waters fixes installing of several manual pages which
aren't installed by upstream script but are referenced inside other
manual pages.

--- tcl8.5-8.5.8.orig/unix/installManPage
+++ tcl8.5-8.5.8/unix/installManPage
@@ -48,8 +48,16 @@
     *.n) SECTION=n ;;
 esac
 
+NAME=`basename $MANPAGE .$SECTION`
 SRCDIR=`dirname $MANPAGE`
 
+SPECIALS="DString Thread Notifier RegExp"
+for n in $SPECIALS; do
+    if [ "$NAME" = "$n" ] ; then
+	NAMES="$n $NAMES"
+    fi
+done
+
 FIRST=""
 for f in $NAMES; do
     f=$f.$SECTION$SUFFIX