summaryrefslogtreecommitdiff
path: root/security/kth-krb4/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-04-12 19:43:31 +0000
committerjoerg <joerg@pkgsrc.org>2006-04-12 19:43:31 +0000
commit934ea5fdfdf5cfe214ec018d1ae791913837469c (patch)
treeb5dbc8a3d8bb1a5ad9963aa1babe6926293dc0d1 /security/kth-krb4/patches
parentfd43603386449cedd7670f184904a29c035c6472 (diff)
downloadpkgsrc-934ea5fdfdf5cfe214ec018d1ae791913837469c.tar.gz
Don't install cat pages at all, it's not worth the trouble to get
correctly working on all platforms.
Diffstat (limited to 'security/kth-krb4/patches')
-rw-r--r--security/kth-krb4/patches/patch-ab37
1 files changed, 37 insertions, 0 deletions
diff --git a/security/kth-krb4/patches/patch-ab b/security/kth-krb4/patches/patch-ab
new file mode 100644
index 00000000000..43144097209
--- /dev/null
+++ b/security/kth-krb4/patches/patch-ab
@@ -0,0 +1,37 @@
+$NetBSD: patch-ab,v 1.4 2006/04/12 19:43:31 joerg Exp $
+
+--- cf/install-catman.sh.orig 2001-09-29 16:05:38.000000000 +0000
++++ cf/install-catman.sh
+@@ -17,13 +17,6 @@ for f in "$@"; do
+ catdir="$manbase/cat$section"
+ c="$base.cat$section"
+
+- if test -f "$srcdir/$c"; then
+- if test \! -d "$catdir"; then
+- eval "$mkinstalldirs $catdir"
+- fi
+- eval "echo $INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
+- eval "$INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
+- fi
+ for link in `sed -n -e '/SYNOPSIS/q;/DESCRIPTION/q;s/^\.Nm \([^ ]*\).*/\1/p' $srcdir/$f`; do
+ if [ "$link" != "$base" ]; then
+ target="$mandir/$link.$section"
+@@ -36,18 +29,6 @@ for f in "$@"; do
+ break
+ fi
+ done
+- if test -f "$srcdir/$c"; then
+- target="$catdir/$link.$suffix"
+- for cmd in "ln -f $catdir/$base.$suffix $target" \
+- "ln -fs $base.$suffix $target" \
+- "cp -f $catdir/$base.$suffix $target"
+- do
+- if eval "$cmd"; then
+- eval echo "$cmd"
+- break
+- fi
+- done
+- fi
+ fi
+ done
+ done