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.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 () +