summaryrefslogtreecommitdiff
path: root/x11-toolkits/py-tkinter/files/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/py-tkinter/files/setup.py')
-rw-r--r--x11-toolkits/py-tkinter/files/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/x11-toolkits/py-tkinter/files/setup.py b/x11-toolkits/py-tkinter/files/setup.py
index 8bf615a02b02..a3bd3da94179 100644
--- a/x11-toolkits/py-tkinter/files/setup.py
+++ b/x11-toolkits/py-tkinter/files/setup.py
@@ -18,7 +18,7 @@ except:
tkversion = "8.4"
prefix = sysconfig.PREFIX
# Python 1.5 doesn't have os.getenv()?
-x11base = os.environ['X11BASE'] or '/usr/X11R6'
+x11base = os.environ['LOCALBASE'] or '/usr/X11R6'
inc_dirs = [prefix + "/include",
prefix + "/include/tcl" + tkversion,
prefix + "/include/tk" + tkversion,