[76805] trunk/dports/gis/qgis/Portfile

Joshua Root jmr at macports.org
Thu Mar 10 02:10:10 PST 2011


On 2011-3-10 20:57 , Rainer Müller wrote:
> On 03/10/2011 07:33 AM, Joshua Root wrote:
>> Please don't use exit in a portfile. Throw an error instead.
> 
> Should exit be moved to the list of forbidden commands (like 'cd')?

Is is already, so ironically an error does get thrown because it's an
unknown command.

Looking at the portfile again, it should really just set a default
variant when no python variant is set, rather than failing. And the
python25 variant should be declared as conflicting with universal
instead of waiting until pre-build to detect that problem.

- Josh


More information about the macports-dev mailing list