[54131] trunk/dports/audio/libao/Portfile

toby at macports.org toby at macports.org
Tue Jul 21 13:56:28 PDT 2009


Revision: 54131
          http://trac.macports.org/changeset/54131
Author:   toby at macports.org
Date:     2009-07-21 13:56:28 -0700 (Tue, 21 Jul 2009)
Log Message:
-----------
only use these patches on old versions of OS X

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

Modified: trunk/dports/audio/libao/Portfile
===================================================================
--- trunk/dports/audio/libao/Portfile	2009-07-21 20:53:33 UTC (rev 54130)
+++ trunk/dports/audio/libao/Portfile	2009-07-21 20:56:28 UTC (rev 54131)
@@ -18,7 +18,6 @@
 master_sites     http://downloads.xiph.org/releases/ao/
 checksums        md5 b92cba3cbcf1ee9bc221118a85d23dcd
 
-patchfiles       patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
 post-patch {
 	reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
 		${worksrcpath}/CHANGES \
@@ -31,6 +30,9 @@
                  --disable-oss --disable-X
 
 platform darwin {
+    if {${os.major} < 10} {
+        patchfiles patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
+    }
     post-destroot {
         system "echo default_driver=macosx >> ${destroot}${prefix}/etc/libao.conf"
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090721/b383237e/attachment.html>


More information about the macports-changes mailing list