On 12/14/12 8:14 AM, Ryan Schmidt wrote:

On Dec 14, 2012, at 10:10, [email protected] wrote:

jgoodies-common: update to 1.4.0; 1.3.0 requires Java 6 so this breaks older 
OSes.

Can you put in a block to print a nice error message for those older OSes? For 
example if it now requires 10.6 or newer you could use:


if {${os.platform} == "darwin" && ${os.major} < 10} {
     pre-fetch {
         ui_error "${name} ${version} requires OS X 10.6 or greater."
         return -code error "incompatible OS X version"
     }
}

I'll do that. 10.6 supports Java 6? I don't have a 10.6 system around that I can check.

Blair

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to