summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-03 10:23:45 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-03 10:23:45 -0400
commit959eb915cb1f061a461f6227afc8954b067589df (patch)
tree0578e0640914345d8ed44613a614f0c0676c19c8
parent75369e70ce9bfa1856efa83370b565c48de884e3 (diff)
downloadgpsd-959eb915cb1f061a461f6227afc8954b067589df.tar.gz
Add Gary Miller's Gentoo warning.
-rw-r--r--SConstruct6
1 files changed, 5 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 71e135e7..95e262c8 100644
--- a/SConstruct
+++ b/SConstruct
@@ -4,7 +4,6 @@
# * Check for Python development libraries
# * Python module build
# * Qt binding
-# * PYTHONPATH adjustment for Gentoo
# * Utility and test productions
# * Installation and uninstallation
# * Out-of-directory builds: see http://www.scons.org/wiki/UsingBuildDir
@@ -316,6 +315,11 @@ env['BUILDERS']["Man"] = Builder(action=manbuilder)
env['BUILDERS']["HTML"] = Builder(action=htmlbuilder,
src_suffix=".xml", suffix=".html")
+# Gentoo systems can have a problem with the Python path
+if os.path.exists("/etc/gentoo-release"):
+ print "This is a Gentoo system."
+ print "Adjust your PYTHONPATH to see library directories under /usr/local/lib"
+
env = config.Finish()
## Two shared libraries provide most of the code for the C programs