[85249] trunk/dports/net/libtorrent/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 11 21:43:54 PDT 2011


Revision: 85249
          http://trac.macports.org/changeset/85249
Author:   jmr at macports.org
Date:     2011-10-11 21:43:53 -0700 (Tue, 11 Oct 2011)
Log Message:
-----------
libtorrent: error out early on tiger and leopard, see #27289

Modified Paths:
--------------
    trunk/dports/net/libtorrent/Portfile

Modified: trunk/dports/net/libtorrent/Portfile
===================================================================
--- trunk/dports/net/libtorrent/Portfile	2011-10-12 04:32:59 UTC (rev 85248)
+++ trunk/dports/net/libtorrent/Portfile	2011-10-12 04:43:53 UTC (rev 85249)
@@ -41,6 +41,14 @@
 }
 
 if {${os.platform} == "darwin" && ${os.major} <= 9} {
+    # currently broken, ticket #27289
+    pre-fetch {
+        return -code error "$name currently cannot be compiled on Mac OS X 10.5 or earlier."
+    }
+    # clear deps so users don't waste time installing them for a broken port
+    depends_lib
+    depends_build
+
     patchfiles-append   no_posix_memalign.patch
     configure.compiler  gcc-4.2
     if {![file executable ${configure.cc}]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111011/0fefbe8c/attachment.html>


More information about the macports-changes mailing list