fix broken tests for vorbis and smpeg

from Deanna Phillips <deanna at sdf.lonestar.org>
This commit is contained in:
sturm 2006-08-31 06:14:29 +00:00
parent c8197eaba3
commit b705475079
2 changed files with 35 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2006/08/01 10:50:19 espie Exp $
# $OpenBSD: Makefile,v 1.8 2006/08/31 06:14:29 sturm Exp $
COMMENT= "library that handles the decoding of sound file formats"
DISTNAME= SDL_sound-1.0.1
PKGNAME= ${DISTNAME:L:S/_/-/}p2
PKGNAME= ${DISTNAME:L:S/_/-/}p3
SHARED_LIBS= SDL_sound 2.0
CATEGORIES= devel audio
MASTER_SITES= http://offload1.icculus.org/SDL_sound/downloads/

View File

@ -0,0 +1,33 @@
$OpenBSD: patch-configure,v 1.1 2006/08/31 06:14:29 sturm Exp $
--- configure.orig Sun Oct 12 20:54:57 2003
+++ configure Thu Aug 31 08:11:50 2006
@@ -7363,16 +7363,11 @@ int main (int argc, char *argv[])
}
else
{
- printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the
-minimum version\n", $smpeg_major_version, $smpeg_minor_version,
-$smpeg_micro_version);
- printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is
-correct, then it is\n", major, minor, micro);
+ printf("\n*** 'smpeg-config --version' returned %d.%d.%d, but the minimum version\n", $smpeg_major_version, $smpeg_minor_version, $smpeg_micro_version);
+ printf("*** of SMPEG required is %d.%d.%d. If smpeg-config is correct, then it is\n", major, minor, micro);
printf("*** best to upgrade to the required version.\n");
- printf("*** If smpeg-config was wrong, set the environment variable
-SMPEG_CONFIG\n");
- printf("*** to point to the correct copy of smpeg-config, and remove
-the file\n");
+ printf("*** If smpeg-config was wrong, set the environment variable SMPEG_CONFIG\n");
+ printf("*** to point to the correct copy of smpeg-config, and remove the file\n");
printf("*** config.cache before re-running configure\n");
return 1;
}
@@ -7995,7 +7990,7 @@ fi;
VORBIS_LIBDIR="-L$vorbis_prefix/lib"
fi
- VORBIS_LIBS="$VORBIS_LIBDIR -lvorbis -lm"
+ VORBIS_LIBS="$VORBIS_LIBDIR -lvorbis -lm -logg"
VORBISFILE_LIBS="-lvorbisfile"
VORBISENC_LIBS="-lvorbisenc"