in-Portfile variant removal (not default)?

Ryan Schmidt ryandesign at macports.org
Sat Jul 24 21:55:58 PDT 2010


On Jul 24, 2010, at 23:44, Michael Dickens wrote:

> I want the Portfile to generate an error if just +debug is selected.  How do I do that in a robust manner (e.g., after a "ui_msg" about why it's erroring out)? - MLD

See for example the suhosin variant of the php5 port for an example of how I print fatal error messages. Key is that this be done in a phase, e.g. in pre-configure, and not just directly in the variant.




More information about the macports-dev mailing list