On Sun, 6 Jun 2010 00:17:27 -0400 Mike Frysinger <vap...@gentoo.org> wrote:
> i'm not saying `emake` covers all solutions you proposed, just that > the base usage isnt nearly as bleak. there are some cases where > having a wrapper around emake would be useful (such as compiling > multiple files or linking things in). so if you wanted to slap > something together, we can look at it further. Well, I've already covered one corner case myself, which is the zpaq ebuild. I would approve a comment on my idea here: http://overlays.gentoo.org/proj/sunrise/changeset/10641/sunrise/app-arch/zpaq/zpaq-1.10.ebuild The hard part was that zpaq.cpp had to be compiled to both the execu- table and the stub object file (with additional -DOPT flag). I've decided that the simplest and most fail-proof idea was to create an additional source file, defining 'OPT' and including the real code, and compiling all of that within a single 'emake' call. -- Best regards, Michał Górny <http://mgorny.alt.pl> <xmpp:mgo...@jabber.ru>
signature.asc
Description: PGP signature