010-use_target_for_configure.patch 601 B

123456789101112131415161718192021
  1. Use values exported from $(TOPDIR)/rules.mk for determining
  2. the target system instead of the host configuration
  3. Index: ppp-2.4.3/configure
  4. ===================================================================
  5. --- ppp-2.4.3.orig/configure 2007-06-04 13:22:08.549555552 +0200
  6. +++ ppp-2.4.3/configure 2007-06-04 13:22:08.618545064 +0200
  7. @@ -8,9 +8,9 @@
  8. # if [ -d /NextApps ]; then
  9. # system="NeXTStep"
  10. # else
  11. - system=`uname -s`
  12. - release=`uname -r`
  13. - arch=`uname -m`
  14. + system=${UNAME_S:-`uname -s`}
  15. + release=${UNAME_R:-`uname -r`}
  16. + arch=${UNAME_M:-`uname -m`}
  17. # fi
  18. state="unknown"