From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26069 invoked by uid 1002); 20 Nov 2002 01:17:07 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 26060 invoked from network); 20 Nov 2002 01:17:07 -0000 Date: Tue, 19 Nov 2002 20:15:36 -0500 From: Michael Cummings To: Johannes Ball? Cc: gentoo-dev@gentoo.org Message-ID: <20021120011536.GA10585@datanode.net> Reply-To: mcummings@datanode.net Mail-Followup-To: Johannes Ball? , gentoo-dev@gentoo.org References: <200211200132.40258.joba123@arcor.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200211200132.40258.joba123@arcor.de> User-Agent: Mutt/1.4i Subject: Re: [gentoo-dev] Ebuild programming question X-Archives-Salt: 95e17022-6574-463e-8461-076947ec7819 X-Archives-Hash: 115c8af4f3e70f40c3133cda4ebab4aa 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