public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Jeremy Hanmer <jeremy@hq.newdream.net>
To: gentoo-dev@robin.gentoo.org
Subject: Re: [gentoo-dev] ebuild question
Date: Thu, 3 Mar 2005 12:23:14 -0800	[thread overview]
Message-ID: <71767f93c823c6a61340741706d66c11@hq.newdream.net> (raw)
In-Reply-To: <4226E662.7040307@gentoo.org>


On Mar 3, 2005, at 2:26 AM, Aaron Walker wrote:
>
> 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.

That's all that's really needed since all you'd care about in this 
instance is the existance of one of 2 or 3 major versions.  Just look 
for >=sys-libs-4.0 then 3.0 and so-on, compiling for the first one you 
find.

> 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 <ka0ttic@gentoo.org>
> [ 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
>

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2005-03-03 20:21 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03  3:40 [gentoo-dev] ebuild question pepone pepone
2005-03-03  3:47 ` Jeremy Hanmer
2005-03-03 10:26   ` Aaron Walker
2005-03-03 20:23     ` Jeremy Hanmer [this message]
2005-03-04  0:42       ` Aaron Walker
2005-03-04  3:25     ` [gentoo-dev] ebuild question (versionator.eclass) Octavio Ruiz (Ta^3)
  -- strict thread matches above, loose matches on Subject: below --
2003-09-19 14:57 [gentoo-dev] ebuild question Philippe Lafoucrière
2003-09-19 15:03 ` Georgi Georgiev
2003-09-19 15:12   ` Philippe Lafoucrière
2003-09-19 15:26     ` Georgi Georgiev
2003-09-19 15:05 ` Thomas de Grenier de Latour
2003-09-19 15:15   ` Philippe Lafoucrière
2003-06-10 14:25 MAL
2003-06-12 11:34 ` Amiel Martin
2003-05-30 15:17 William Hubbs
2003-05-30 15:27 ` Grant Goodyear
2003-05-31  3:00   ` Georgi Georgiev
2003-05-30 11:15 MAL
2003-05-30 11:29 ` Alastair Tse
2003-05-30 14:22   ` MAL
2003-05-30 14:33     ` Alastair Tse
2003-05-30 14:40       ` Todd Berman
2003-05-30 14:55         ` Jon Portnoy
2003-05-30 15:08           ` MAL
2003-05-30 14:39     ` Seemant Kulleen
2003-05-30 15:09       ` Seemant Kulleen
2002-11-26 21:27 Per Wigren
2002-11-26 21:23 ` Dan Armak
2002-11-27  0:03   ` Per Wigren
2002-07-26 14:54 John Matthews
2002-04-18  6:13 Avi Schwartz
2002-04-18  6:59 ` George Shapovalov
2002-04-18  7:15 ` Tod M Neidt
2002-04-17  5:21 Richard Jackson
2002-04-17  5:02 ` Jared H. Hudson
2002-04-17  6:05   ` Richard Jackson
2002-04-17  5:21     ` Jared H. Hudson
2002-02-07  3:44 Edward Muller
2002-02-07  4:43 ` Tod M Neidt
2001-08-05 15:50 Craig Joly
2001-08-05 17:07 ` Daniel Robbins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71767f93c823c6a61340741706d66c11@hq.newdream.net \
    --to=jeremy@hq.newdream.net \
    --cc=gentoo-dev@gentoo.org \
    --cc=gentoo-dev@robin.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox