[100507] trunk/dports/java/jgoodies-common/Portfile
Blair Zajac
blair at orcaware.com
Fri Dec 14 08:19:51 PST 2012
On 12/14/12 8:14 AM, Ryan Schmidt wrote:
>
> On Dec 14, 2012, at 10:10, blair at macports.org 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
More information about the macports-dev
mailing list