[141132] trunk/dports/lang/apple-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Oct 11 09:14:38 PDT 2015


Revision: 141132
          https://trac.macports.org/changeset/141132
Author:   jeremyhu at macports.org
Date:     2015-10-11 09:14:38 -0700 (Sun, 11 Oct 2015)
Log Message:
-----------
apple-gcc42: Drop support on ElCap

Modified Paths:
--------------
    trunk/dports/lang/apple-gcc42/Portfile

Modified: trunk/dports/lang/apple-gcc42/Portfile
===================================================================
--- trunk/dports/lang/apple-gcc42/Portfile	2015-10-11 16:09:15 UTC (rev 141131)
+++ trunk/dports/lang/apple-gcc42/Portfile	2015-10-11 16:14:38 UTC (rev 141132)
@@ -75,6 +75,16 @@
 use_configure no
 variant universal {}
 
+if {${os.platform} eq "darwin" && ${os.major} >= 15} {
+    depends_lib
+    depends_run
+    archive_sites
+    pre-fetch {
+        ui_error "${name} is not supported on El Capitan or later."
+        return -code error {unsupported platform}
+    }
+}
+
 # Building universal with a ppc slice doesn't work (Tried on Leopard)
 if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
     supported_archs i386 x86_64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151011/3b600171/attachment.html>


More information about the macports-changes mailing list