Re: suggestion/feature request for Portfile: assert PortSystem comes first

2013-04-12 Thread Brandon Allbery
On Fri, Apr 12, 2013 at 1:16 AM, Roger Pack rogerdpa...@gmail.com wrote: Suggestion/feature request: it would be nice to spit out a warning or error message that supplemented this particular error message, for instance warning: Portfile started without a PortSystem declaration for its first

Re: suggestion/feature request for Portfile: assert PortSystem comes first

2013-04-12 Thread Clemens Lang
Hi, On Fri, Apr 12, 2013 at 08:33:37AM -0400, Brandon Allbery wrote: This would be somewhat difficult, as before the PortSystem line all the PortFile is is raw Tcl code. It doesn't know that it should be warning about commands defined by PortSystem. while this is true, we could still define a

Re: metis fails to build

2013-04-12 Thread Ryan Schmidt
On Apr 12, 2013, at 15:32, Rodolfo Aramayo wrote: Is this a known issue? Should I report a bug? Log is attached Thanks If you search the issue tracker you'll see we already have a bug report filed for this: https://trac.macports.org/ticket/38775

Re: suggestion/feature request for Portfile: assert PortSystem comes first

2013-04-12 Thread Ryan Schmidt
On Apr 12, 2013, at 09:44, Clemens Lang wrote: On Fri, Apr 12, 2013 at 08:33:37AM -0400, Brandon Allbery wrote: This would be somewhat difficult, as before the PortSystem line all the PortFile is is raw Tcl code. It doesn't know that it should be warning about commands defined by PortSystem.

Re: suggestion/feature request for Portfile: assert PortSystem comes first

2013-04-12 Thread Ryan Schmidt
On Apr 12, 2013, at 00:16, Roger Pack wrote: Also as a further note, on this page: http://guide.macports.org/ section 5.1 Perhaps it should say PortSystem: The top (non comment) line of every Portfile; instead of the current: PortSystem The top line of every Portfile; (the