Hardwiring in xauth path so that user does not have to install xauth to run the tightvnc server

svn path=/nixpkgs/trunk/; revision=9580
This commit is contained in:
Marc Weber 2007-11-05 09:17:05 +00:00
parent 7b1c9a7a82
commit 82ed95c0cc

View file

@ -9,6 +9,10 @@ buildPhase() {
cd Xvnc
sed -e 's@.* CppCmd .*@#define CppCmd '$gcc'/bin/cpp@' -i config/cf/linux.cf
sed -e 's@.* CppCmd .*@#define CppCmd '$gcc'/bin/cpp@' -i config/cf/Imake.tmpl
sed -i \
-e 's@"uname","xauth","Xvnc","vncpasswd"@"uname","Xvnc","vncpasswd"@g' \
-e "s@\<xauth\>@$xauth/bin/xauth@g" \
../vncserver
./configure
make
cd ..