Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Tomáš Chvátal <scarabeus@g.o>
Subject: Re: [RFC] New eclass for x11 packages
Date: Fri, 19 Feb 2010 00:16:54 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dne 19.2.2010 00:11, David Leverton napsal(a):
> On Thursday 18 February 2010 22:33:42 Tomáš Chvátal wrote:
>> 	[[ ${PN} == util-macros ]] || DEPEND+=" >=x11-misc/util-macros-1.3.0"
>> 	[[ ${PN} == font-util ]] || DEPEND+=" >=media-fonts/font-util-1.1.1-r1"
> 
> Do non-fonts really need font-util there?  Looks like that sets up a nice 
> circular dependency.
The same dep is in x-modular eclass. I spoted it in some fonts packages
as required so i left it there.
Good work/idea would be if someone doublecheck that one :]

> 
>> 			[[ -e "./configure.ac" ]] && eautoreconf || ewarn "Unable to autoreconf 
> the configure script. Things may fail."
> 
> That'll ewarn if configure.ac doesn't exist at all.  Doesn't eautoreconf die 
> anyway if it fails, and if not, is it a good idea for failures to only give a 
> warning?
> 
That || die is not for eautoreconf

[[ -e "something" ]] && somethingexists || somethingisnotexisting

For your behaviour it would have to look like this

[[ -e "something" ]] && { somethingexists || die if the commands failed ; }

Tomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt9ymYACgkQHB6c3gNBRYe5kQCgjpAgHUl7icElBtdAUHTcfPOI
wjkAn1CFH/9VxaO9IBnNMlVpLQT60JX+
=+A3h
-----END PGP SIGNATURE-----


Replies:
Re: [RFC] New eclass for x11 packages
-- David Leverton
Re: [RFC] New eclass for x11 packages
-- Tomáš Chvátal
References:
[RFC] New eclass for x11 packages
-- Tomáš Chvátal
Re: [RFC] New eclass for x11 packages
-- David Leverton
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] New eclass for x11 packages
Next by thread:
Re: [RFC] New eclass for x11 packages
Previous by date:
Re: [RFC] New eclass for x11 packages
Next by date:
Re: [RFC] New eclass for x11 packages


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.