Initial .bep files for pkgconfig and libvorbis, moved libvorbis patches into patches folder.

This commit is contained in:
Scott McCreary
2009-10-18 21:47:10 +00:00
parent d6120e08df
commit 58a5069258
4 changed files with 63 additions and 0 deletions

View File

@@ -0,0 +1,48 @@
diff -urN libvorbis-1.2.0/aclocal.m4 libvorbis-1.2.0-haiku/aclocal.m4
--- libvorbis-1.2.0/aclocal.m4 2007-07-25 16:46:33.000000000 +0000
+++ libvorbis-1.2.0-haiku/aclocal.m4 2008-07-14 09:15:18.000000000 +0000
@@ -1291,7 +1291,7 @@
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
;;
-beos*)
+beos* | haiku*)
library_names_spec='${libname}${shared_ext}'
dynamic_linker="$host_os ld.so"
shlibpath_var=LIBRARY_PATH
@@ -2276,7 +2276,7 @@
lt_cv_deplibs_check_method=pass_all
;;
-beos*)
+beos* | haiku*)
lt_cv_deplibs_check_method=pass_all
;;
@@ -2492,7 +2492,7 @@
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
LIBM=
case $host in
-*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
+*-*-beos* | *-*-haiku* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
# These system don't have libm, or don't need it
;;
*-ncr-sysv4.3*)
@@ -4825,7 +4825,7 @@
# like `-m68040'.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
;;
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
# PIC is the default for these OSes.
;;
mingw* | os2* | pw32*)
@@ -5098,7 +5098,7 @@
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
;;
- beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
+ beos* | haiku* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
# PIC is the default for these OSes.
;;

View File

@@ -0,0 +1,14 @@
diff -urN libvorbis-1.2.3/configure.ac libvorbis-1.2.3-haiku/configure.ac
--- libvorbis-1.2.3/configure.ac 2009-07-09 10:02:25.000000000 +0000
+++ libvorbis-1.2.3-haiku/configure.ac 2009-09-13 21:56:38.000000000 +0000
@@ -185,6 +185,10 @@
DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
+ *-*-haiku*)
+ DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char"
+ CFLAGS="-O20 -Wall -D__NO_MATH_INLINES -fsigned-char"
+ PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
*)
DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"