diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-05-21 15:28:29 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-05-21 15:28:29 +0000 |
commit | 6facbc4d8589e04f51650b8f3b4fcc51effecc91 (patch) | |
tree | caa682b36ff11b0323294ea4d94a3918e1dc7af9 /sysutils/xosview/patches | |
parent | bb5cd561d5722a90da8c833d39b509bb20326054 (diff) | |
download | pkgsrc-6facbc4d8589e04f51650b8f3b4fcc51effecc91.tar.gz |
Make configure a bit smarter to find UVM in /etc/mk.conf.
Diffstat (limited to 'sysutils/xosview/patches')
-rw-r--r-- | sysutils/xosview/patches/patch-aa | 14 |
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 |