aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-11-09 07:20:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-11-09 07:20:47 +0200
commit6d2f43072bd402682c97b75c6cadf277f93d08bb (patch)
treeffa99cd20711e1fbad620da9431f9874b26ce8d6
parent7cbea6d908fddc48357a88d6edf30451c7d2b487 (diff)
Remove backwards-compatibility workaround
-rw-r--r--bpkg/rep-fetch.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx
index 4d1a670..675dad0 100644
--- a/bpkg/rep-fetch.cxx
+++ b/bpkg/rep-fetch.cxx
@@ -1464,24 +1464,18 @@ namespace bpkg
for (const package_location& pl: p->locations)
rfs.push_back (pl.repository_fragment.load ());
- // @@ TMP: enable after 0.14.0 is out.
- //
-#if 0
bool module (build2_module (p->id.name));
-#endif
for (const test_dependency& td: p->tests)
{
// Verify that the package has no runtime tests if it is a build
// system module.
//
-#if 0
if (module && !td.buildtime)
fail << "run-time " << td.type << ' ' << td.name << " for build "
<< "system module "
<< package_string (p->id.name, p->version) <<
info << "build system modules cannot have run-time " << td.type;
-#endif
vector<pair<shared_ptr<available_package>,
shared_ptr<repository_fragment>>> tps (