summaryrefslogtreecommitdiff
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2002-04-13 06:22:10 +0000
committerDoug Barton <dougb@FreeBSD.org>2002-04-13 06:22:10 +0000
commit11ec8fb1bce08b2a69c4cf0c2b8e4966d5d0f0ce (patch)
treeb48c26a8c73fba5434ef02c9602a9b4197e7b925 /x11/xscreensaver
parentMake it easier to find libjpeg in non-standard installs. (diff)
Silence a spurious warning caused by an attempt to check if
an rpm of xscreensaver is already installed on a linux system. This is a no-op for us, but users have complained about the warning.
Notes
Notes: svn path=/head/; revision=57649
Diffstat (limited to 'x11/xscreensaver')
-rw-r--r--x11/xscreensaver/files/patch-ab14
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