[141133] trunk/dports/lang/llvm-gcc42/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sun Oct 11 09:15:21 PDT 2015


Revision: 141133
          https://trac.macports.org/changeset/141133
Author:   jeremyhu at macports.org
Date:     2015-10-11 09:15:20 -0700 (Sun, 11 Oct 2015)
Log Message:
-----------
llvm-gcc42: Drop support on ElCap

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

Modified: trunk/dports/lang/llvm-gcc42/Portfile
===================================================================
--- trunk/dports/lang/llvm-gcc42/Portfile	2015-10-11 16:14:38 UTC (rev 141132)
+++ trunk/dports/lang/llvm-gcc42/Portfile	2015-10-11 16:15:20 UTC (rev 141133)
@@ -37,6 +37,16 @@
 
 supported_archs i386 x86_64
 
+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}
+    }
+}
+
 select.group    gcc
 select.file     ${filespath}/mp-llvm-gcc42
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151011/406ad9bd/attachment.html>


More information about the macports-changes mailing list