diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-09-11 14:42:15 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-09-11 14:42:15 +0200 |
commit | 55c6a30f1ebdf6becbad274f38e951ca13f0a785 (patch) | |
tree | c8202c9d491a559931fb41a5dacfe7f32447c036 /admin/kde.py | |
parent | 0f6c4cf95e31b5bb2755bd56afc0763c7fcf6305 (diff) | |
download | kstreamripper-55c6a30f1ebdf6becbad274f38e951ca13f0a785.tar.gz kstreamripper-55c6a30f1ebdf6becbad274f38e951ca13f0a785.zip |
scons: Replace deprecated Options with Variables.
This resolves FTBFS with SCons >= 3.0.2.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'admin/kde.py')
-rw-r--r-- | admin/kde.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/kde.py b/admin/kde.py index 8a70106..c1d2edf 100644 --- a/admin/kde.py +++ b/admin/kde.py @@ -312,10 +312,10 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt # Detect the environment - replaces ./configure implicitely # and store the options into a cache - from SCons.Options import Options + from SCons.Variables import Variables cachefile=env['CACHEDIR']+'/kde.cache.py' - opts = Options(cachefile) - opts.AddOptions( + opts = Variables(cachefile) + opts.AddVariables( ( 'QTDIR', 'root of qt directory' ), ( 'QTLIBPATH', 'path to the qt libraries' ), ( 'QTINCLUDEPATH', 'path to the qt includes' ), |