aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-04-13 14:22:10 +0800
committerdougb <dougb@FreeBSD.org>2002-04-13 14:22:10 +0800
commit655d213c0cf4de45777ea93fa0519f96984d1547 (patch)
treece2e2cc5e9591fa636b2cce965b73f034cf4692c /x11/xscreensaver
parent7a28b1d2987eb5d331c9b36662e51802c23d9508 (diff)
downloadfreebsd-ports-gnome-655d213c0cf4de45777ea93fa0519f96984d1547.tar.gz
freebsd-ports-gnome-655d213c0cf4de45777ea93fa0519f96984d1547.tar.zst
freebsd-ports-gnome-655d213c0cf4de45777ea93fa0519f96984d1547.zip
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.
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