aboutsummaryrefslogtreecommitdiff
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
parent7fc039b375479acbe88ac8722a8c679c8f587690 (diff)
downloadports-11ec8fb1bce08b2a69c4cf0c2b8e4966d5d0f0ce.tar.gz
ports-11ec8fb1bce08b2a69c4cf0c2b8e4966d5d0f0ce.zip
Notes
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