You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-geosciences/mapnik/files/mapnik-2.2.0-configure-only...

21 lines
737 B

--- a/SConstruct
+++ b/SConstruct
@@ -503,16 +503,7 @@ for opt in pickle_store:
#print 'missing opt', opt
preconfigured = False
-# if custom arguments are supplied make sure to accept them
-if opts.args:
- # since we have custom arguments update environment with all opts to
- # make sure to absorb the custom ones
- opts.Update(env)
- # now since we've got custom arguments we'll disregard any
- # pickled environment and force another configuration
- preconfigured = False
-
-elif preconfigured:
+if preconfigured:
if not HELP_REQUESTED:
color_print(4,'Using previous successful configuration...')
color_print(4,'Re-configure by running "python scons/scons.py configure".')