010-use_target_for_configuration.patch 508 B

1234567891011121314151617181920
  1. $Id$
  2. Use values exported from $(TOPDIR)/rules.mk for determining
  3. the target system instead of the host configuration, d'oh
  4. --- ppp-2.4.3/configure.orig Sat Nov 6 11:36:32 2004
  5. +++ ppp-2.4.3/configure Sun Jun 18 23:40:46 2006
  6. @@ -8,9 +8,9 @@ SYSCONF=/etc
  7. # if [ -d /NextApps ]; then
  8. # system="NeXTStep"
  9. # else
  10. - system=`uname -s`
  11. - release=`uname -r`
  12. - arch=`uname -m`
  13. + system=${UNAME_S:-`uname -s`}
  14. + release=${UNAME_R:-`uname -r`}
  15. + arch=${UNAME_M:-`uname -m`}
  16. # fi
  17. state="unknown"