[115728] trunk/dports/audio/pulseaudio/Portfile

devans at macports.org devans at macports.org
Thu Jan 9 14:15:14 PST 2014


Revision: 115728
          https://trac.macports.org/changeset/115728
Author:   devans at macports.org
Date:     2014-01-09 14:15:13 -0800 (Thu, 09 Jan 2014)
Log Message:
-----------
pulseaudio: possible fix for configuration failure on Leopard and earlier (#42052).

Modified Paths:
--------------
    trunk/dports/audio/pulseaudio/Portfile

Modified: trunk/dports/audio/pulseaudio/Portfile
===================================================================
--- trunk/dports/audio/pulseaudio/Portfile	2014-01-09 22:07:37 UTC (rev 115727)
+++ trunk/dports/audio/pulseaudio/Portfile	2014-01-09 22:15:13 UTC (rev 115728)
@@ -48,6 +48,17 @@
                 port:speex \
                 port:orc
 
+# configure falls back to libatomic_ops as last resort
+# if no linux kernel support and inline asm snippet fails to build
+# likely to fail on Leopard and older
+# https://trac.macports.org/ticket/42052
+
+platform darwin {
+    if {${os.major} < 10} {
+        depends_lib-append  port:libatomic_ops
+    }
+}
+
 # https://bugs.freedesktop.org/show_bug.cgi?id=55733 and <rdar://problem/14653996>
 patchfiles      patch-no-inline-asm.diff
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140109/44ee53c0/attachment.html>


More information about the macports-changes mailing list