Fix libao runtime issue
Symbol not found: _dlsym_auto_underscore Fixes pending shell.fm output issue.
This commit is contained in:
parent
b57d4191e9
commit
1370961056
1 changed files with 37 additions and 2 deletions
|
@ -5,8 +5,43 @@ class Libao <Formula
|
|||
@md5='b92cba3cbcf1ee9bc221118a85d23dcd'
|
||||
@homepage='http://www.xiph.org/ao/'
|
||||
|
||||
def patches
|
||||
# Fix this: dyld: lazy symbol binding failed: Symbol not found: _dlsym_auto_underscore
|
||||
# See: http://trac.macports.org/ticket/20891
|
||||
DATA
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure --disable-debug --disable-dependency-tracking --prefix='#{prefix}'"
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}", "--disable-x"
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
__END__
|
||||
--- a/configure 2007-05-24 12:51:52.000000000 +0200
|
||||
+++ b/configure 2007-11-30 21:54:58.000000000 +0100
|
||||
@@ -20094,9 +20094,10 @@
|
||||
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"
|
||||
- CFLAGS="-D__NO_MATH_INLINES -fsigned-char -Ddlsym=dlsym_auto_underscore"
|
||||
- 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" ;;
|
||||
*)
|
||||
PLUGIN_LDFLAGS="-export-dynamic -avoid-version"
|
||||
DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
|
||||
@@ -20203,7 +20204,7 @@
|
||||
DLOPEN_FLAG='(RTLD_LAZY)'
|
||||
SHARED_LIB_EXT='.sl'
|
||||
;;
|
||||
- *openbsd* | *netbsd* | *solaris2.7)
|
||||
+ *openbsd* | *netbsd* | *solaris2.7 | *darwin*)
|
||||
DLOPEN_FLAG='(RTLD_LAZY)'
|
||||
SHARED_LIB_EXT='.so'
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue