source: freewrt/package/ppp/patches/010-use_target_for_configuration.patch@ 6fc4520e

freewrt_1_0 freewrt_2_0
Last change on this file since 6fc4520e was 4eb3e23, checked in by Thorsten Glaser <tg@…>, 19 years ago

fix ppp, use these target-specific variables instead of the host config

git-svn-id: svn://www.freewrt.org/trunk/freewrt@141 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 513 bytes
  • ppp-2.4.3/configure

    $FreeWRT$
    
    	Use values exported from $(TOPDIR)/rules.mk for determining
    	the target system instead of the host configuration, d'oh
    
    old new SYSCONF=/etc  
    88#  if [ -d /NextApps ]; then
    99#    system="NeXTStep"
    1010#  else
    11   system=`uname -s`
    12   release=`uname -r`
    13   arch=`uname -m`
     11  system=${UNAME_S:-`uname -s`}
     12  release=${UNAME_R:-`uname -r`}
     13  arch=${UNAME_M:-`uname -m`}
    1414#  fi
    1515state="unknown"
    1616
Note: See TracBrowser for help on using the repository browser.