summaryrefslogtreecommitdiffstats
path: root/kde.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-09-11 14:42:15 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-09-11 14:42:34 +0200
commit1f0b9d60c6a0464678e6533d0bc72c5cb1da999d (patch)
tree5f84a224077f198d4c80120765d47a4453d874a2 /kde.py
parent28509cc759a7717f7edfcdf9286e1dcf331a88b3 (diff)
downloadkstreamripper-1f0b9d60c6a0464678e6533d0bc72c5cb1da999d.tar.gz
kstreamripper-1f0b9d60c6a0464678e6533d0bc72c5cb1da999d.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> (cherry picked from commit 55c6a30f1ebdf6becbad274f38e951ca13f0a785)
Diffstat (limited to 'kde.py')
-rw-r--r--kde.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kde.py b/kde.py
index 589cffa..0912283 100644
--- a/kde.py
+++ b/kde.py
@@ -412,10 +412,10 @@ ie: """+BOLD+"""scons configure libdir=/usr/local/lib qtincludes=/usr/include/qt
Builder = SCons.Builder.Builder
# 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(
('PREFIX', 'root of the program installation'),
('QTDIR', 'root of qt directory'),