aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gemcutter/gemcutter_dependencies_key.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/gemcutter/gemcutter_dependencies_key.cc')
-rw-r--r--paludis/repositories/gemcutter/gemcutter_dependencies_key.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/gemcutter/gemcutter_dependencies_key.cc b/paludis/repositories/gemcutter/gemcutter_dependencies_key.cc
index 078bb731a..f53b70a19 100644
--- a/paludis/repositories/gemcutter/gemcutter_dependencies_key.cc
+++ b/paludis/repositories/gemcutter/gemcutter_dependencies_key.cc
@@ -27,6 +27,7 @@
#include <paludis/util/make_shared_copy.hh>
#include <paludis/util/tokeniser.hh>
#include <paludis/util/make_named_values.hh>
+#include <paludis/always_enabled_dependency_label.hh>
#include <paludis/spec_tree.hh>
#include <paludis/dep_spec.hh>
#include <paludis/partially_made_package_dep_spec.hh>
@@ -151,8 +152,8 @@ namespace
runtime_dependencies_label(std::make_shared<DependenciesLabelsDepSpec>()),
initial_labels(std::make_shared<DependenciesLabelSequence>())
{
- development_dependencies_label->add_label(std::make_shared<DependenciesBuildLabel>("development", return_literal_function(true)));
- runtime_dependencies_label->add_label(std::make_shared<DependenciesRunLabel>("runtime", return_literal_function(true)));
+ development_dependencies_label->add_label(std::make_shared<AlwaysEnabledDependencyLabel<DependenciesBuildLabelTag> >("development"));
+ runtime_dependencies_label->add_label(std::make_shared<AlwaysEnabledDependencyLabel<DependenciesRunLabelTag> >("runtime"));
initial_labels->push_back(*development_dependencies_label->begin());
}
};