diff --git a/xorg/xinit/build b/xorg/xinit/build index 311b9d59..1709bf70 100755 --- a/xorg/xinit/build +++ b/xorg/xinit/build @@ -7,4 +7,6 @@ make make DESTDIR="$1" install -sed -i 's/enable_xauth=1/enable_xauth=0/' "$1/usr/bin/startx" +# Make xauth optional. +sed -i 's#enable_xauth=1#command -v xauth >/dev/null \&\&&||enable_xauth=0#' \ + "$1/usr/bin/startx" diff --git a/xorg/xinit/depends b/xorg/xinit/depends index 54034cdd..1903bba6 100644 --- a/xorg/xinit/depends +++ b/xorg/xinit/depends @@ -1 +1 @@ -libX11 make +libX11 diff --git a/xorg/xinit/version b/xorg/xinit/version index a50a0a64..120d5224 100644 --- a/xorg/xinit/version +++ b/xorg/xinit/version @@ -1 +1 @@ -1.4.1 2 +1.4.1 3