finally move buildroot-ng to trunk
[openwrt.git] / package / ppp / patches / 010-use_target_for_configure.patch
1
2         Use values exported from $(TOPDIR)/rules.mk for determining
3         the target system instead of the host configuration
4
5 --- ppp-2.4.3/configure.orig    Sat Nov  6 11:36:32 2004
6 +++ ppp-2.4.3/configure Sun Jun 18 23:40:46 2006
7 @@ -8,9 +8,9 @@ SYSCONF=/etc
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"
19  
20