Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 34421 | Differences between
and this patch

Collapse All | Expand All

(-)qpkg (-3 / +11 lines)
Lines 414-422 Link Here
414
					fi
414
					fi
415
				done
415
				done
416
416
417
				if [[ $(echo ${rdepend} | grep -o ${package}) == ${package} ]]; then
417
				pack="`echo ${n}|sed -e 's:-r[0-9]\+$::' \
418
					echo $'\t'$(< ${deppkg}/PF)
418
							-e 's:\.[0-9].*$::' \
419
				fi
419
							-e 's:^iii ::' \
420
							-e 's:^uuu ::'`"
421
				for match in ">=${pack}" "=${pack}" ">=${package}" "=${package}"
422
				do
423
					if [[ $(echo ${rdepend} | grep -o ${match}) == ${match} ]]; then
424
						echo $'\t'${match}$'\t'$(< ${deppkg}/PF)
425
						break
426
					fi
427
				done
420
			done
428
			done
421
		else
429
		else
422
			grep -R "${package}" /var/db/pkg/*/*/RDEPEND | \
430
			grep -R "${package}" /var/db/pkg/*/*/RDEPEND | \

Return to bug 34421