-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Hanmer wrote: > you should be able to use the has_version function. More details at > http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml? part=2&chap=1
has_version only returns 0 or 1 depending whether the package is installed or not, so it's useless in this case. best_version would be a better alternative, however that alone won't solve the problem. Read about best_version in the ebuild(5) manual page. After you're done with that, read about the versionator eclass in the versionator.eclass(5) manual page (may have to emerge portage-manpages). You'll probably have to use a combination of both to do what you're trying to achieve. HTH - -- printk(KERN_EMERG "PCI: Tell willy he's wrong "); linux-2.6.6/arch/parisc/kernel/pci.c Aaron Walker <[EMAIL PROTECTED]> [ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCJuZhC3poscuANHARAno+AJ0S4wl1FnzHKuKSeNj92CBKMsOpogCgmhrR 9lSrUePKgaiEePdqlNVZpaM= =bznu -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list