> On Nov 20, 2014, at 12:25 PM, [email protected] wrote:
>
> Revision
> 128395
> Author
> [email protected]
> Date
> 2014-11-20 10:25:33 -0800 (Thu, 20 Nov 2014)
> Log Message
>
> pinentry-mac: remove manual check, use xcodeversion PortGroup to enforce
> 10.8+ and Xcode 5 needed by the xcodeproject.
> --- trunk/dports/aqua/pinentry-mac/Portfile 2014-11-20 18:25:11 UTC (rev
> 128394)
> +++ trunk/dports/aqua/pinentry-mac/Portfile 2014-11-20 18:25:33 UTC (rev
> 128395)
> @@ -4,6 +4,7 @@
> PortSystem 1.0
> PortGroup github 1.0
> PortGroup xcode 1.0
> +PortGroup xcodeversion 1.0
>
> github.setup GPGTools pinentry-mac 0.8.1 v
> revision 1
> @@ -25,14 +26,8 @@
> supported_archs x86_64
> installs_libs no
>
> -pre-fetch {
> - if {${os.major} < 12} {
> - ui_error "This software utilizes ARC, which is only available on
> 10.7 and later.
> - Additionally, the package itself is only compatible
> with Xcode 5 and up
> - not compatible with 10.7 and below."
> - error "Unsupported operating system."
> - }
> -}
> +# xcodeproject has been created with Xcode 5 which is only available on 10.8
> and up.
> +minimum_xcodeversions {12 5.0}
The xcodeversions portgroup doesn't enforce OS versions. It enforces Xcode
versions, on the specified OS versions. You need both the OS minimum version
number check, and the Xcode version check on 10.8.
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev