aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-configure.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-configure.cxx')
-rw-r--r--bpkg/pkg-configure.cxx32
1 files changed, 1 insertions, 31 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 477ead0..93f8602 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -365,7 +365,7 @@ namespace bpkg
l4 ([&]{trace << "src_root: " << src_root << ", "
<< "out_root: " << out_root;});
- bool disfigured (ps.disfigure_); // @@ TMP pass explicitly.
+ bool disfigured (ps.disfigure_); // @@ TMP-K pass explicitly.
// Verify all our prerequisites are configured and populate the
// prerequisites list.
@@ -424,36 +424,6 @@ namespace bpkg
dvar += "**'";
}
- // @@ TMP remove when settled done.
- //
-#if 0
- // Deduce the configuration variables which are not reflected anymore
- // and disfigure them.
- //
- for (const config_variable& cv: p->config_variables)
- {
- if (cv.source == config_source::reflect)
- {
- const vector<config_variable>& ss (cpr.config_sources);
- auto i (find_if (ss.begin (), ss.end (),
- [&cv] (const config_variable& v)
- {
- return v.name == cv.name;
- }));
-
- if (i == ss.end ())
- {
- if (dvar.empty ())
- dvar = "config.config.disfigure=";
- else
- dvar += ' ';
-
- dvar += cv.name;
- }
- }
- }
-#endif
-
// Configure.
//
try