diff options
Diffstat (limited to 'x11/xscreensaver/files/patch-ab')
-rw-r--r-- | x11/xscreensaver/files/patch-ab | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/xscreensaver/files/patch-ab b/x11/xscreensaver/files/patch-ab index e0f89867aa25..6ce706317db5 100644 --- a/x11/xscreensaver/files/patch-ab +++ b/x11/xscreensaver/files/patch-ab @@ -20,4 +20,18 @@ +#fi + +@@ -11658,8 +11658,12 @@ + # M4 sucks!! + +-rpmv=`(rpm -qv xscreensaver) 2>&- | \ ++case `uname` in ++[Ll]inux) ++ rpmv=`(rpm -qv xscreensaver) 2>&- | \ + sed -n 's/^xscreensaver-\([0-9][0-9]*[.][0-9][0-9]*\)-.*$/\1/p'` ++ ;; ++esac + + + if test \! -z "$rpmv" ; then |