Don't print messages inside platform directives
N_Ox
n.oxyde at gmail.com
Fri May 25 14:49:39 PDT 2007
Hello,
there's just something bothering me with platform/variant directives
i've seen here and there.
Why do you use a dummy platform and use variant_isset in the stage
directive?
From what i've seen (and coded, of course), every stage in every
activated variant/platform is executed.
Le 25 mai 07 à 23:44, Ryan Schmidt a écrit :
> ...
>
> platform darwin 8 {}
> pre-fetch {
> if { [variant_isset darwin_8] } {
> ui_error "==== ATTENTION!!!! ===="
> ui_error "Sockstat is not working under darwin 8 nor tiger.
> Please use"
> ui_error "lsof -i6/lsof -i4/lsof -U instead."
> ui_error "==== ATTENTION!!!! ===="
> ui_error "Please sudo port uninstall sockstat"
> }
> }
>
> ...
--
Anthony Ramine, a lazy french student.
nox at macports.org
More information about the macports-dev
mailing list