$OpenBSD: patch-configure,v 1.12 2011/08/29 11:23:19 jasper Exp $
--- configure.orig	Tue Jul  5 15:36:53 2011
+++ configure	Tue Jul  5 17:43:07 2011
@@ -14957,7 +14957,7 @@ fi
     VORBIS_LIBS="-L$prefix/lib"
   fi
 
-  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
+  VORBIS_LIBS="$VORBIS_LIBS -lvorbis -logg -lm"
   VORBISFILE_LIBS="-lvorbisfile"
   VORBISENC_LIBS="-lvorbisenc"
 
@@ -15117,11 +15117,7 @@ if test "x$with_lame" != "xno"; then
 OLD_CFLAGS=$CFLAGS
 OLD_LIBS=$LIBS
 
-if test x$have_vorbis = xtrue; then
-LIBS="$LIBS -lmp3lame -lvorbis -lm"
-else
 LIBS="$LIBS -lmp3lame -lm"
-fi
 
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lame" >&5
