suggestion/feature request for Portfile: assert PortSystem comes first

Brandon Allbery allbery.b at gmail.com
Fri Apr 12 05:33:37 PDT 2013


On Fri, Apr 12, 2013 at 1:16 AM, Roger Pack <rogerdpack2 at 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
> line"
> then I would have known more concisely where I had went wrong.
>

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.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130412/71bea1a9/attachment.html>


More information about the macports-users mailing list