public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael Cummings <mcummings@datanode.net>
To: Johannes Ball? <joba123@arcor.de>
Cc: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Ebuild programming question
Date: Tue, 19 Nov 2002 20:15:36 -0500	[thread overview]
Message-ID: <20021120011536.GA10585@datanode.net> (raw)
In-Reply-To: <200211200132.40258.joba123@arcor.de>

Check the configure script that comes with the program (assuming there
is one :) ). Usually, you can do something like (not perfect syntax,
but you get the idea):
-------------------

use gtk || ${myconf} = "${myconf} --disable-gtk"

...


./configure ${myconf}


--------------------
or something to that affect (and assuming that the configure option is
disable-gtk)

On Wed, Nov 20, 2002 at 01:32:40AM +0100, Johannes Ball? wrote:
> Would it be considered bad practice to put a dependency like "gtk? ( gtk... )" 
> into the ebuild, but leave it to the configure script to sort out whether gtk 
> is installed or not (hence, whether to compile the gtk tools or not)?
> 

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2002-11-20  1:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20  0:32 [gentoo-dev] Ebuild programming question Johannes Ballé
2002-11-20  1:15 ` Michael Cummings [this message]
2002-11-20  7:52   ` Johannes Ballé
2002-11-20 14:05     ` Karl Trygve Kalleberg
2002-11-21 15:42       ` Johannes Ballé

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=20021120011536.GA10585@datanode.net \
    --to=mcummings@datanode.net \
    --cc=gentoo-dev@gentoo.org \
    --cc=joba123@arcor.de \
    /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