Jonathan Smith wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Diego 'Flameeyes' Pettenò wrote:
On Thursday 07 July 2005 02:04, Sven Wegener wrote:

We would like to split up src_compile. The
new src_configure should just do the econf part and src_compile should
do the emake part.
That will be very very interesting but... but not everything uses ./configure, so we should add a bunch of dummy src_configure, and a call to econf || die "" for those packages not fixed to use that will return a bunch of erroneous packages not compiling.


you could simply make the default:

src_configure() {
        [ -f ./configure ] && econf || die
}

- --

smithj

Gentoo Developer
[ desktop stuff && netmon && documentation ]


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCzHcJl5AvwDPiUowRAqeFAJwIxve3a/X5BnlSBOxfv/Ac2lMAaACg30Pg
62/3CVfdiHVSppJfEe73DsY=
=lK9Q
-----END PGP SIGNATURE-----
By order of operations that won't work...I think you'll have to do if/then.

if [ -f ./configure ]
then
   econf || die
fi

But that's a possible solution for sure. It does introduce a lot of ebuild editing for those ebuilds doing special conf stuff though.

Joshua Baergen
--
gentoo-dev@gentoo.org mailing list

Reply via email to