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: Michał Górny <mgorny@g.o>
Subject: Please don't use IUSE=static-libs unless really necessary
Date: Sun, 18 Sep 2011 22:55:20 +0200
Hello all,

Considering that the 'magical IUSE check' in autotools-utils (and a few
other eclasses) is considered broken, and taking Diego's word [1],
I'd like to ask you to reconsider your uses of IUSE=static-libs.

To be honest, I'd like to remove that magic soon which means that all
ebuilds needing to adjust static lib build will need to pass
'$(use_enable static-libs static)' themselves. While at it, it may be
better to just drop the flag if no other package relies on it and no
user has ever requested the static build of that package.

It is possible that some of you have added IUSE=static-libs along with
autotools-utils just to have .la files removed. The removal algorithm
has been improved much lately, and it no longer requires that USE flag
-- .la files will be removed as well if there's no corresponding static
lib.

For the packages where static linking is required, I'd like to kindly
ask you to always include IUSE='+static' in the package itself,
IUSE='+static-libs' in the dependencies and let users disable that if
they really don't need it. And if you're using autotools-utils.eclass,
please add necessary $(use_enable)s in the ebuild -- this is more
portable and will make the IUSE magic removal less painful.

Thanks in advance.

[1]:http://blog.flameeyes.eu/2011/08/29/useless-flag-static-libs

-- 
Best regards,
Michał Górny
Attachment:
signature.asc (PGP signature)
Replies:
Re: Please don't use IUSE=static-libs unless really necessary
-- Nirbheek Chauhan
[PATCH autotools-utils] Deprecate automagic $(use_enable static-libs static).
-- Michał Górny
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
glibc-2.13 stabilization
Next by thread:
[PATCH autotools-utils] Deprecate automagic $(use_enable static-libs static).
Previous by date:
Re: udev and /usr
Next by date:
[PATCH autotools-utils] Deprecate automagic $(use_enable static-libs static).


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.