$NetBSD: patch-aa,v 1.13 2004/03/03 13:36:09 adam Exp $

--- misc/run_tic.in.orig	2003-09-06 22:31:44.000000000 +0000
+++ misc/run_tic.in
@@ -91,7 +91,7 @@ TICDIR=`echo $TERMINFO | sed -e 's%/shar
 # would generate a lot of confusing error messages if we tried to overwrite it.
 # We explicitly remove its contents rather than the directory itself, in case
 # the directory is actually a symbolic link.
-( cd $TERMINFO && rm -fr ? 2>/dev/null )
+#( cd $TERMINFO && rm -fr ? 2>/dev/null )
 
 # If we're not installing into /usr/share/, we'll have to adjust the location
 # of the tabset files in terminfo.src (which are in a parallel directory).
@@ -123,6 +123,9 @@ else
 	exit 1
 fi
 
+# For NetBSD pkgsrc, don't bother with setting a symbolic link.
+exit 0
+
 # Make a symbolic link to provide compatibility with applications that expect
 # to find terminfo under /usr/lib.  That is, we'll _try_ to do that.  Not
 # all systems support symbolic links, and those that do provide a variety
