[105249] trunk/dports/net/libusrsctp/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Apr 15 14:45:29 PDT 2013


On Apr 15, 2013, at 06:33, yeled at macports.org wrote:

> Revision: 105249
>          https://trac.macports.org/changeset/105249
> Author:   yeled at macports.org
> Date:     2013-04-15 04:33:09 -0700 (Mon, 15 Apr 2013)
> Log Message:
> -----------
> don't compile on <= 10.6
> 
> Modified Paths:
> --------------
>    trunk/dports/net/libusrsctp/Portfile
> 
> Modified: trunk/dports/net/libusrsctp/Portfile
> ===================================================================
> --- trunk/dports/net/libusrsctp/Portfile	2013-04-15 11:28:13 UTC (rev 105248)
> +++ trunk/dports/net/libusrsctp/Portfile	2013-04-15 11:33:09 UTC (rev 105249)
> @@ -23,6 +23,12 @@
> checksums           sha1 b719ddd754fd21b2bda634db20640bb9477c2a1b \
>                     md5  5dceb755f070ac94ae80d23686da6c91
> 
> +pre-fetch {
> +    if {${os.platform} == "darwin" && ${os.major} < 11} {
> +        ui_error "${name} is only supported on OS X 10.7 Leopard or later."
> +        return -code error "unsupported platform version"
> +    }
> +}

10.7 is Lion.




More information about the macports-dev mailing list