aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/devdraw
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-12-30 07:18:30 -0500
committerRuss Cox <rsc@swtch.com>2020-12-30 07:53:28 -0500
commit8b9aaf2e3f7f6e2733e52db4dd1dcb46a91e4972 (patch)
tree929b06ad69a32247651506465e292f0a4c7561b1 /src/cmd/devdraw
parent18571208068d5fe2f0bf7b4e980525a7f577c503 (diff)
downloadplan9port-8b9aaf2e3f7f6e2733e52db4dd1dcb46a91e4972.tar.gz
plan9port-8b9aaf2e3f7f6e2733e52db4dd1dcb46a91e4972.tar.bz2
plan9port-8b9aaf2e3f7f6e2733e52db4dd1dcb46a91e4972.zip
devdraw: add /usr/X11R7 for NetBSD
Fixes #362.
Diffstat (limited to 'src/cmd/devdraw')
-rw-r--r--src/cmd/devdraw/mkwsysrules.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/devdraw/mkwsysrules.sh b/src/cmd/devdraw/mkwsysrules.sh
index 122e9123..56dff55a 100644
--- a/src/cmd/devdraw/mkwsysrules.sh
+++ b/src/cmd/devdraw/mkwsysrules.sh
@@ -7,6 +7,8 @@ if [ "x$X11" = "x" ]; then
X11=/usr/X11R6
elif [ -d /usr/local/X11R6 ]; then
X11=/usr/local/X11R6
+ elif [ -d /usr/X11R7 ]; then
+ X11=/usr/X11R7
elif [ -d /usr/X ]; then
X11=/usr/X
elif [ -d /usr/openwin ]; then # for Sun