patch-misc_run_tic_in 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --- ncurses-5.7.orig/misc/run_tic.in 2006-10-28 21:43:30.000000000 +0200
  2. +++ ncurses-5.7/misc/run_tic.in 2009-12-30 15:14:43.273450029 +0100
  3. @@ -58,22 +58,25 @@ echo '** Building terminfo database, ple
  4. test -z "${DESTDIR}" && DESTDIR=
  5. +# original comment:
  6. # Allow tic to run either from the install-path, or from the build-directory.
  7. # Do not do this if we appear to be cross-compiling. In that case, we rely
  8. # on the host's copy of tic to compile the terminfo database.
  9. -if test "$THAT_CC" = "$THIS_CC" ; then
  10. +# -- end comment --
  11. +# ATTENTION: Always use native tic from build environment
  12. +#if test "$THAT_CC" = "$THIS_CC" ; then
  13. case "$PATH" in
  14. :*) PATH=../progs:../lib:${DESTDIR}$bindir$PATH ;;
  15. *) PATH=../progs:../lib:${DESTDIR}$bindir:$PATH ;;
  16. esac
  17. export PATH
  18. SHLIB="sh $srcdir/shlib"
  19. -else
  20. +#else
  21. # Cross-compiling, so don't set PATH or run shlib.
  22. -SHLIB=
  23. +#SHLIB=
  24. # reset $suffix, since it applies to the target, not the build platform.
  25. -suffix=
  26. -fi
  27. +#suffix=
  28. +#fi
  29. # set another env var that doesn't get reset when `shlib' runs, so `shlib' uses