X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fsourcepackage.cpp;h=ab66c0056651cbfddaa768fed2dbb47577779870;hb=6f76342d14c7b7ec7b9629fcfd40199bca1e5e0f;hp=246a6db5187db78ac9b88264b171f8f9b2530dba;hpb=102de418e552cb1e1f91bb85954c4c101fdea82d;p=builder.git diff --git a/source/sourcepackage.cpp b/source/sourcepackage.cpp index 246a6db..ab66c00 100644 --- a/source/sourcepackage.cpp +++ b/source/sourcepackage.cpp @@ -130,8 +130,7 @@ void SourcePackage::do_configure(const StringMap &opts, unsigned flag) if(flag && config.update(opts)) { - if(builder.get_verbose()>=2) - IO::print("Configuration of %s changed\n", name); + builder.get_logger().log("configure", format("Configuration of %s changed", name)); if(!builder.get_dry_run()) config.save(); } @@ -143,7 +142,7 @@ void SourcePackage::do_configure(const StringMap &opts, unsigned flag) { const StringList &reqs = i->get_requires(); for(StringList::const_iterator j=reqs.begin(); j!=reqs.end(); ++j) - if(Package *pkg = builder.get_package(*j)) + if(Package *pkg = builder.get_package_manager().find_package(*j)) requires.push_back(pkg); }