[109092] trunk/dports/python/py-zeroc-ice33/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Aug 7 17:31:53 PDT 2013


Revision: 109092
          https://trac.macports.org/changeset/109092
Author:   jeremyhu at macports.org
Date:     2013-08-07 17:31:53 -0700 (Wed, 07 Aug 2013)
Log Message:
-----------
py-zeroc-ice33: Use compiler.blacklist

Modified Paths:
--------------
    trunk/dports/python/py-zeroc-ice33/Portfile

Modified: trunk/dports/python/py-zeroc-ice33/Portfile
===================================================================
--- trunk/dports/python/py-zeroc-ice33/Portfile	2013-08-08 00:30:52 UTC (rev 109091)
+++ trunk/dports/python/py-zeroc-ice33/Portfile	2013-08-08 00:31:53 UTC (rev 109092)
@@ -45,6 +45,17 @@
 
 python.versions 25 26 27
 
+platform darwin {
+    if {${os.major} >= 13} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$subport is not supported on Mavericks or later."
+            error "unsupported platform"
+        }
+    }
+}
+
 if {$subport != $name} {
     # Special case Python 25 so only one Portfile is needed, as the
     # Python Ice bindings need a the paths to the framework portion of
@@ -63,9 +74,7 @@
     # Work around invalid C++ code by compiling with llvm-gcc-4.2
     # instead of clang.  See
     # http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html
-    if {${configure.compiler} == "clang"} {
-        configure.compiler llvm-gcc-4.2
-    }
+    compiler.blacklist clang
 
     build.dir       ${worksrcpath}/py
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130807/1f719dc4/attachment.html>


More information about the macports-changes mailing list