summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-05-21 15:28:29 +0000
committerfrueauf <frueauf>1998-05-21 15:28:29 +0000
commit08c668ce9c727b7eada2ac89cb2dbda1648fd9e9 (patch)
treecaa682b36ff11b0323294ea4d94a3918e1dc7af9 /sysutils
parentcc6cd600023374edb6a8b9df83da6a95e3a193d3 (diff)
downloadpkgsrc-08c668ce9c727b7eada2ac89cb2dbda1648fd9e9.tar.gz
Make configure a bit smarter to find UVM in /etc/mk.conf.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xosview/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/xosview/patches/patch-aa b/sysutils/xosview/patches/patch-aa
new file mode 100644
index 00000000000..caabb8c7e66
--- /dev/null
+++ b/sysutils/xosview/patches/patch-aa
@@ -0,0 +1,14 @@
+--- configure.orig Sat May 16 22:35:12 1998
++++ configure Thu May 21 17:07:50 1998
+@@ -1340,9 +1340,9 @@
+ ## contents are still nonnull.
+ # First, grab the UVM string out of /etc/mk.conf (and silently
+ # ignore if /etc/mk.conf doesn't exist.)
+- uvmstring=`grep UVM /etc/mk.conf 2>/dev/null`
++ uvmstring=`grep ^UVM /etc/mk.conf 2>/dev/null`
+ # Now, replace any whitespace around the =.
+- uvmstring=`echo $uvmstring | sed -e 's/ *= */=/'`
++ uvmstring=`echo $uvmstring | sed -e 's/ *= */=/;s/ *\?=/=/'`
+ # Now, remove any trailing whitespace, and strip comments.
+ uvmstring=`echo $uvmstring | sed -e 's/ *$//;s/#.*$//'`
+ # At this point, we should have either the empty string or