[31766] trunk/dports/audio/libao

saispo at macports.org saispo at macports.org
Thu Dec 6 11:27:43 PST 2007


Revision: 31766
          http://trac.macosforge.org/projects/macports/changeset/31766
Author:   saispo at macports.org
Date:     2007-12-06 11:27:22 -0800 (Thu, 06 Dec 2007)

Log Message:
-----------
Add patch from ticket #13514 to allow building libao on Leopard

Modified Paths:
--------------
    trunk/dports/audio/libao/Portfile
    trunk/dports/audio/libao/files/patch-configure

Modified: trunk/dports/audio/libao/Portfile
===================================================================
--- trunk/dports/audio/libao/Portfile	2007-12-06 18:47:51 UTC (rev 31765)
+++ trunk/dports/audio/libao/Portfile	2007-12-06 19:27:22 UTC (rev 31766)
@@ -2,8 +2,8 @@
 
 PortSystem 1.0
 name             libao
-version          0.8.6
-revision         2
+version          0.8.8
+revision         1
 categories       audio
 maintainers      nomaintainer
 description      A Cross-platform Audio Library
@@ -15,9 +15,9 @@
 homepage         http://www.xiph.org/ao/
 platforms        darwin
 master_sites     http://downloads.xiph.org/releases/ao/
-checksums        md5 12e136a4c0995068ff134997c84421ed
+checksums        md5 b92cba3cbcf1ee9bc221118a85d23dcd
 
-patchfiles       patch-AU-configure patch-AU-src__plugins__macosx__ao_macosx.c
+patchfiles       patch-configure
 post-patch {
 	reinplace "s|/etc/libao.conf|${prefix}/etc/libao.conf|" \
 		${worksrcpath}/CHANGES \

Modified: trunk/dports/audio/libao/files/patch-configure
===================================================================
--- trunk/dports/audio/libao/files/patch-configure	2007-12-06 18:47:51 UTC (rev 31765)
+++ trunk/dports/audio/libao/files/patch-configure	2007-12-06 19:27:22 UTC (rev 31766)
@@ -1,16 +1,9 @@
---- configure.orig	Sat Jan 22 10:15:13 2005
-+++ configure	Sat Jan 22 10:20:39 2005
-@@ -502,7 +502,7 @@
- includedir='${prefix}/include'
- oldincludedir='/usr/include'
- infodir='${prefix}/info'
--mandir='${prefix}/man'
-+mandir='${prefix}/share/man'
- 
- ac_prev=
- for ac_option
-@@ -19121,9 +19121,10 @@
-                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char -mv8" ;;
+Index: libao-0.8.8/configure
+===================================================================
+--- configure.old	2007-05-24 04:51:52.000000000 -0600
++++ configure	2007-12-06 11:03:14.000000000 -0700
+@@ -20094,9 +20094,9 @@
+                 PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char" ;;
          *-darwin*)
                  PLUGIN_LDFLAGS="-module -avoid-version"
 -                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
@@ -18,12 +11,11 @@
 -                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore" ;;
 +                DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
 +                CFLAGS="-D__NO_MATH_INLINES -fsigned-char"
-+                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char"
-+                LIBS="-Wl,-framework -Wl,AudioUnit" ;;
++                PROFILE="-g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
          *)
                  PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
                  DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
-@@ -19223,7 +19224,7 @@
+@@ -20203,7 +20203,7 @@
  	DLOPEN_FLAG='(RTLD_LAZY)'
  	SHARED_LIB_EXT='.sl'
  	;;
@@ -32,26 +24,15 @@
  	DLOPEN_FLAG='(RTLD_LAZY)'
  	SHARED_LIB_EXT='.so'
  	;;
-@@ -19245,7 +19246,7 @@
- if test "$prefix" = "/usr"; then
-     MANDIR='$(datadir)/man'
- else
--    MANDIR='$(prefix)/man'
-+    MANDIR='$(prefix)/share/man'
- fi
- 
- 
-@@ -24370,13 +24371,6 @@
-   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
+@@ -25356,11 +25356,6 @@
+   { { echo "$as_me:$LINENO: error: conditional \"HAVE_WMM\" was never defined.
  Usually this means the macro was only invoked conditionally." >&5
- echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
+ echo "$as_me: error: conditional \"HAVE_WMM\" was never defined.
 -Usually this means the macro was only invoked conditionally." >&2;}
 -   { (exit 1); exit 1; }; }
 -fi
 -if test -z "${HAVE_ESD_TRUE}" && test -z "${HAVE_ESD_FALSE}"; then
 -  { { echo "$as_me:$LINENO: error: conditional \"HAVE_ESD\" was never defined.
--Usually this means the macro was only invoked conditionally." >&5
--echo "$as_me: error: conditional \"HAVE_ESD\" was never defined.
+ Usually this means the macro was only invoked conditionally." >&5
+ echo "$as_me: error: conditional \"HAVE_ESD\" was never defined.
  Usually this means the macro was only invoked conditionally." >&2;}
-    { (exit 1); exit 1; }; }
- fi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071206/b5dde4dc/attachment.html


More information about the macports-changes mailing list