You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-lang/tk/files/tk-8.4.9-man.patch

30 lines
800 B

diff -Naur tk8.4.9.orig/unix/installManPage tk8.4.9/unix/installManPage
--- tk8.4.9.orig/unix/installManPage 2004-12-07 04:46:29.000000000 +0900
+++ tk8.4.9/unix/installManPage 2005-03-02 23:36:23.252797867 +0900
@@ -3,7 +3,7 @@
ZIP=:
while true; do
case $1 in
- -s | --symlinks ) S="-s ";;
+ -s | --symlinks ) TK_S="-s ";;
-z | --compress ) ZIP=$2; shift ;;
-e | --extension ) Z=$2; shift ;;
-s | --suffix ) SUFFIX=$2; shift ;;
@@ -18,7 +18,7 @@
MANPAGE=$1
DIR=$2
-test -z "$S" && S="$DIR/"
+test -z "$TK_S" && TK_S="$DIR/"
# A sed script to parse the alternative names out of a man page.
#
@@ -62,6 +62,6 @@
$ZIP $DIR/$FIRST
else
rm -f $DIR/$f $DIR/$f.*
- ln $S$FIRST$Z $DIR/$f$Z
+ ln $TK_S$FIRST$Z $DIR/$f$Z
fi
done