autoreconf.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Description: Fix sh/autoconfall.sh
  2. Author: Helmut Grohne <helmut@subdivi.de>
  3. Author: Adrian Bunk <bunk@debian.org>
  4. Bug-Debian: https://bugs.debian.org/874261
  5. --- ncftp-3.2.5.orig/sh/autoconfall.sh
  6. +++ ncftp-3.2.5/sh/autoconfall.sh
  7. @@ -1,13 +1,5 @@
  8. #!/bin/sh
  9. -PROJECT_HOME="$HOME/src/ncftp/current"
  10. -AUTOCONF_BIN="/usr/local/autoconf-2.13/bin"
  11. -if [ ! -d "$PROJECT_HOME" ] ; then
  12. - /bin/ls -ld "$PROJECT_HOME"
  13. - exit 1
  14. -fi
  15. -cd "$PROJECT_HOME"
  16. -
  17. a=`pwd`
  18. first=yes
  19. didone=no
  20. @@ -16,7 +8,6 @@ for f in \
  21. sio/configure.in \
  22. Strn/configure.in \
  23. libncftp/configure.in \
  24. - "$HOME"/src/libncftp/current/libncftp/configure.in \
  25. ; do
  26. abs=no
  27. case "$f" in
  28. @@ -32,7 +23,7 @@ for f in \
  29. is_diff=no
  30. /bin/mv config.h.in config.h.in.orig 2>/dev/null
  31. - "$AUTOCONF_BIN"/autoheader 2>&1 | fgrep -v AC_TRY_RUN
  32. + autoheader2.13 2>&1 | fgrep -v AC_TRY_RUN
  33. if [ ! -f config.h.in ] ; then
  34. echo "* Warning: config.h.in not generated"
  35. if [ -f config.h.in.orig ] ; then
  36. @@ -51,7 +42,7 @@ for f in \
  37. fi
  38. /bin/mv configure configure.orig 2>/dev/null
  39. - "$AUTOCONF_BIN"/autoconf 2>&1 | fgrep -v AC_TRY_RUN
  40. + autoconf2.13 -l autoconf_local 2>&1 | fgrep -v AC_TRY_RUN
  41. if [ ! -f configure ] ; then
  42. echo "* Warning: configure not generated"
  43. if [ -f configure.orig ] ; then