[124142] trunk/dports/devel/Bear/Portfile

cal at macports.org cal at macports.org
Tue Aug 19 14:33:03 PDT 2014


Revision: 124142
          https://trac.macports.org/changeset/124142
Author:   cal at macports.org
Date:     2014-08-19 14:33:03 -0700 (Tue, 19 Aug 2014)
Log Message:
-----------
Bear: disable build on SL

Modified Paths:
--------------
    trunk/dports/devel/Bear/Portfile

Modified: trunk/dports/devel/Bear/Portfile
===================================================================
--- trunk/dports/devel/Bear/Portfile	2014-08-19 21:29:51 UTC (rev 124141)
+++ trunk/dports/devel/Bear/Portfile	2014-08-19 21:33:03 UTC (rev 124142)
@@ -27,6 +27,18 @@
 
 depends_lib-append  port:libconfig-hr
 
+platform darwin {
+    # needs dprintf(), which doesn't seem to be available on SL
+    if {${os.major} <= 10} {
+        depends_lib
+        depends_build
+        pre-fetch {
+            ui_error "Bear is not supported on Snow Leopard and earlier."
+            error "unsupported platform"
+        }
+    }
+}
+
 set config          ${prefix}/etc/bear.conf
 set dconfig         ${prefix}/etc/bear.conf.default
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140819/cad01d8f/attachment.html>


More information about the macports-changes mailing list