[110607] trunk/dports/graphics/lib2geom/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Sep 2 15:58:49 PDT 2013


Revision: 110607
          https://trac.macports.org/changeset/110607
Author:   jeremyhu at macports.org
Date:     2013-09-02 15:58:49 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
lib2geom: Adjust compiler blacklist

Modified Paths:
--------------
    trunk/dports/graphics/lib2geom/Portfile

Modified: trunk/dports/graphics/lib2geom/Portfile
===================================================================
--- trunk/dports/graphics/lib2geom/Portfile	2013-09-02 22:56:15 UTC (rev 110606)
+++ trunk/dports/graphics/lib2geom/Portfile	2013-09-02 22:58:49 UTC (rev 110607)
@@ -35,8 +35,20 @@
 patchfiles      patch-src-2geom-CMakeLists.txt.diff \
                 patch-src-2geom-toys-CMakeLists.txt.diff
 
-compiler.blacklist clang
+# TODO: Fix buggy C++ code that clang complains about
+compiler.blacklist *clang*
 
+platform darwin {
+    if {${os.major} >= 13} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name does not build on Mavericks or later."
+            error "unsupported platform"
+        }
+    }
+}
+
 configure.cmd   cmake
 configure.args   -Wno-dev -DCMAKE_INSTALL_PREFIX=${prefix} -D2GEOM_BUILD_SHARED=YES
 configure.post_args ${worksrcpath}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/8088b7fd/attachment-0001.html>


More information about the macports-changes mailing list