summaryrefslogtreecommitdiff
path: root/package/ppp/patches/patch-configure
blob: 4ec084e2ef6ac663147f6546c275861dc7672a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- ppp-2.4.4.orig/configure	2005-07-09 02:23:05.000000000 +0200
+++ ppp-2.4.4/configure	2009-06-05 19:12:00.000000000 +0200
@@ -8,9 +8,9 @@ SYSCONF=/etc
 #  if [ -d /NextApps ]; then
 #    system="NeXTStep"
 #  else
-  system=`uname -s`
-  release=`uname -r`
-  arch=`uname -m`
+  system=${UNAME_S:-`uname -s`}
+  release=${UNAME_R:-`uname -r`}
+  arch=${UNAME_M:-`uname -m`}
 #  fi
 state="unknown"