aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-04-13 16:25:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-04-13 16:25:43 +0200
commite106df8f3a367e2c32548abccb5606a9fc441eae (patch)
tree03c1eccad1d499559d0b2be2e8c8f4529235c4ae
parent1fd63551d1eea54b65dd1d4cbb365c85876a1f19 (diff)
Temporarily force global config.import.* warning workaround
-rw-r--r--bpkg/pkg-configure.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/bpkg/pkg-configure.cxx b/bpkg/pkg-configure.cxx
index 83ec245..38aa01a 100644
--- a/bpkg/pkg-configure.cxx
+++ b/bpkg/pkg-configure.cxx
@@ -304,9 +304,11 @@ namespace bpkg
// But we can clash with an absent value -- that is, we
// force importing from a wrong configuration where without
// any import things would have been found in the same
- // amalgamation.
+ // amalgamation. Maybe we could detect that (no import
+ // for the same package -- but it could be for a package
+ // we are not configuring).
//
- vars.push_back ("config.import." + sp->name.variable () +
+ vars.push_back ("!config.import." + sp->name.variable () +
"='" + od.representation () + '\'');
#else
vars.push_back ("config.import." + sp->name.variable () +