# --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ncurses/ncurses-5.9-run_tic.sh-no-terminfo-compat-symlink.patch # Copyright (C) 2012 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- SDE-COPYRIGHT-NOTE-END --- --- ncurses-5.9/misc/run_tic.in.orig 2012-01-18 10:39:03.636079301 +0100 +++ ncurses-5.9/misc/run_tic.in 2012-01-18 12:09:49.360079352 +0100 @@ -164,37 +164,4 @@ fi fi -# 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 -# of options for 'test'. -if test "$TICDIR" != "$TERMINFO" ; then - ( rm -f $TICDIR 2>/dev/null ) - if ( cd $TICDIR 2>/dev/null ) - then - cd $TICDIR - TICDIR=`pwd` - if test $TICDIR != $TERMINFO ; then - # Well, we tried. Some systems lie to us, so the - # installer will have to double-check. - echo "Verify if $TICDIR and $TERMINFO are the same." - echo "The new terminfo is in $TERMINFO; the other should be a link to it." - echo "Otherwise, remove $TICDIR and link it to $TERMINFO." - fi - else - cd ${DESTDIR}$prefix - # Construct a symbolic link that only assumes $ticdir has the - # same $prefix as the other installed directories. - RELATIVE=`echo $ticdir|sed -e 's%^'$prefix'/%%'` - if test "$RELATIVE" != "$ticdir" ; then - RELATIVE=../`echo $ticdir|sed -e 's%^'$prefix'/%%' -e 's%^/%%'` - fi - if ( @LN_S@ $RELATIVE $TICDIR ) - then - echo '** sym-linked '$TICDIR' for compatibility' - else - echo '** could not sym-link '$TICDIR' for compatibility' - fi - fi -fi # vile:shmode