Temporarily blacklisting OCaml for 10.6 and before...

Zero King l2dy at macports.org
Wed Dec 13 14:34:03 UTC 2017


On Wed, Dec 13, 2017 at 09:22:14AM -0500, Perry E. Metzger wrote:
>For the moment, OCaml doesn't work on 10.6 and earlier. There's some
>work that can fix that, but it isn't done yet.
>
>How does one specify that a port is only for more recent operating
>system versions to prevent it from building on older platforms? (I
>know how to blacklist ppc for the moment using supported_archs.)

Here's a snippet excerpted from port mas:

pre-fetch {
    if {${os.major} < 15} {
        ui_error "${name} @${version} requires OS X 10.11 or later."
        return -code error "incompatible OS X version"
    }
}

>Perry
>-- 
>Perry E. Metzger		perry at piermont.com

-- 
Best regards,
Zero King
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3612 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20171213/766e24de/attachment.bin>


More information about the macports-dev mailing list