[100496] trunk/dports/math/slepc/Portfile

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Dec 18 10:24:42 PST 2012

>>> Note that while "ui_error" prints the error message to the screen, it does not end processing the port. If you want the port to exit here, which I think you do, then you need "return -code error" like you had before.
>> Yes, done that. I was under the impression that ui_error would do the same as “return -code error” and do some other things.
> Maybe it should indeed behave like this. Why should the process be continued if an error arises?

Best not to confuse functionality by blending printing and exiting together.

`return -code error` actually returns from processing while `ui_error` (think `printf stderr`) is for presentation.

More information about the macports-dev mailing list