Date: Thu, 16 Jun 2005 18:47:13 -0700 From: Adam Weinberger <adamw@magnesium.net> To: Ade Lovett <ade@FreeBSD.org> Cc: ports@FreeBSD.org Subject: Re: Proposed rework of autotools call structure from port Makefiles Message-ID: <42B22BA1.7050004@magnesium.net> In-Reply-To: <42B22ABE.8090105@FreeBSD.org> References: <42B21E9D.80709@FreeBSD.org> <42B22473.3000001@magnesium.net> <42B22ABE.8090105@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Ade Lovett wrote: > Adam Weinberger wrote: > >>Is specifying the exact versions always necessary? Is it possible to >>examine a configure.in or something to determine the version of >>libtool/auto* needed, and then run that? That would also help with >>things like the recent libtool13->libtool15 sweep, if one could just >>define USE_AUTOTOOLS=autoconf and the build system could intuit the rest. > > > Unfortunately, it's been my experience that such auto-detection of the > "required" version is insanely prone to error. There are so many > different styles of generated scripts (particularly for autoconf and > automake), that such parsing would be extremely tricky. > > That's not to say that it's impossible, but I think it's beyond the > scope of what I'm trying to do here -- it could certainly be considered > at a later date. > > On reflection, I'm wondering whether it would make sense to have two > variables, USE_AUTOTOOLS and WANT_AUTOTOOLS, each with just a simple > list of things that are needed. This is more in spirit with other > USE/WANT variables, and doesn't add too much complexity. > > Thoughts? > > -aDe At least for GNOME, USE vs. WANT carries a very different meaning. WANT lets the port build different ways depending on what's available, but auto-related stuff doesn't have that luxury. WANT_AUTOTOOLS seems like a complete misnomer to me; I like the :env idea. # Adam -- Adam Weinberger adamw@magnesium.net || adamw@FreeBSD.org adamw@vectors.cx || adamw@gnome.org http://www.vectors.cx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42B22BA1.7050004>