openbsd-ports/audio/libvorbis/patches/patch-configure
naddy 37cb16251e Update to Ogg Vorbis 1.0.1.
oggenc can now encode from FLAC, ogg123 can also play FLAC and speex files.
2003-12-14 00:52:21 +00:00

35 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.6 2003/12/14 00:52:22 naddy Exp $
--- configure.orig 2003-11-17 19:12:03.000000000 +0100
+++ configure 2003-12-13 23:17:22.000000000 +0100
@@ -6873,7 +6873,7 @@ if test -z "$aix_libpath"; then aix_libp
;;
openbsd*)
- hardcode_direct=yes
+ hardcode_direct=no
hardcode_shlibpath_var=no
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
@@ -18792,7 +18792,7 @@ if test -z "$GCC"; then
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
*)
DEBUG="-g"
- CFLAGS="-O"
+ CFLAGS=""
PROFILE="-g -p" ;;
esac
else
@@ -18905,9 +18905,9 @@ echo "$as_me: WARNING:
CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
*)
- DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char"
- CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char"
- PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
+ DEBUG="-g -Wall -W -fsigned-char"
+ CFLAGS="-fsigned-char"
+ PROFILE="-g -pg -fsigned-char" ;;
esac
fi
CFLAGS="$CFLAGS $cflags_save"