Fix usage (#2613)
[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 Index: ppp-2.4.3/configure
6 ===================================================================
7 --- ppp-2.4.3.orig/configure 2007-06-04 13:22:08.549555552 +0200
8 +++ ppp-2.4.3/configure 2007-06-04 13:22:08.618545064 +0200
9 @@ -8,9 +8,9 @@
10 # if [ -d /NextApps ]; then
11 # system="NeXTStep"
12 # else
13 - system=`uname -s`
14 - release=`uname -r`
15 - arch=`uname -m`
16 + system=${UNAME_S:-`uname -s`}
17 + release=${UNAME_R:-`uname -r`}
18 + arch=${UNAME_M:-`uname -m`}
19 # fi
20 state="unknown"
21
This page took 0.043658 seconds and 5 git commands to generate.