Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 58677
Collapse All | Expand All

(-)../portage-2.0.51_pre17-orig/bin/emerge (-2 / +4 lines)
Lines 862-870 Link Here
862
		# Adjust pkgsettings with any virtuals this package provides.
862
		# Adjust pkgsettings with any virtuals this package provides.
863
		if mytype=="binary":
863
		if mytype=="binary":
864
			self.pkgsettings.setinst(mykey,portage.db["/"]["bintree"].dbapi)
864
			self.pkgsettings.setinst(mykey,portage.db["/"]["bintree"].dbapi)
865
		else:
865
		elif merging:
866
			self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
866
			self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi)
867
		
867
		else:
868
			self.pkgsettings.setinst(mykey,portage.db[myroot]["vartree"].dbapi)
869
868
		# whatever the case, we need to add the node to our digraph so
870
		# whatever the case, we need to add the node to our digraph so
869
		# that children can depend upon it.
871
		# that children can depend upon it.
870
		self.digraph.addnode(string.join(mybigkey),myparent)
872
		self.digraph.addnode(string.join(mybigkey),myparent)

Return to bug 58677