summaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-05-21 15:28:29 +0000
committerfrueauf <frueauf>1998-05-21 15:28:29 +0000
commit06d8aa46956edee95ce6ee241afdac5d29811c44 (patch)
treecaa682b36ff11b0323294ea4d94a3918e1dc7af9 /sysutils/xosview
parent361047eaed8dfa5a75b5f6f63b777d6dd0e52e74 (diff)
downloadpkgsrc-06d8aa46956edee95ce6ee241afdac5d29811c44.tar.gz
Make configure a bit smarter to find UVM in /etc/mk.conf.
Diffstat (limited to 'sysutils/xosview')
-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