[116430] trunk/dports/cad/LibreCAD/Portfile

cal at macports.org cal at macports.org
Fri Jan 24 14:35:30 PST 2014


Revision: 116430
          https://trac.macports.org/changeset/116430
Author:   cal at macports.org
Date:     2014-01-24 14:35:30 -0800 (Fri, 24 Jan 2014)
Log Message:
-----------
LibreCAD: fail on systems <= 10.8 due to C++11 incompatibility, with maintainer approval

Modified Paths:
--------------
    trunk/dports/cad/LibreCAD/Portfile

Modified: trunk/dports/cad/LibreCAD/Portfile
===================================================================
--- trunk/dports/cad/LibreCAD/Portfile	2014-01-24 22:14:59 UTC (rev 116429)
+++ trunk/dports/cad/LibreCAD/Portfile	2014-01-24 22:35:30 UTC (rev 116430)
@@ -30,6 +30,15 @@
                     port:muparser \
                     port:freetype
 
+if {${os.platform} eq "darwin" && ${os.major} < 13} {
+    depends_lib
+    pre-fetch {
+        ui_error "${name} 2.x only works with OS X 10.9 Mavericks or later."
+        ui_error "You might want to try a 1.x series release instead."
+        error "incompatible OS X version"
+    }
+}
+
 configure.cmd       ${prefix}/bin/qmake
 configure.pre_args
 configure.universal_args
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140124/1665392b/attachment-0001.html>


More information about the macports-changes mailing list