defluffing Portfiles (port lint)

Anders F Björklund afb at macports.org
Tue Jul 10 15:28:06 PDT 2007


Landon Fuller wrote:

>> I guess there will be NO feedback on this until it has
>> been committed to trunk, so maybe we can do that now ?
>
> My only question is this:
>
>  	78	proc lint_main {args} {
>  	79	        global UI_PREFIX portname portpath
>  	80	        set portfile ${portpath}/Portfile
>
> It's inadvisable to make assumptions about the Portfile path from 
> within a target -- should this be implemented outside of the build 
> targets?

An API for getting the name would be much better.

I blame inexperience with Tcl and MacPorts... :-)

--anders




More information about the macports-dev mailing list