Hi,
I guess this support was desired in the package since they're
listed as LIB_DEPENDS, but they're not being built in. Try
'/usr/local/bin/playsound --decoders' to check.
It looked to me like a broken conftest was disabling smpeg, and
a missing libogg dependency was disabling ogg.
This fixes it for me.
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/sdl-sound/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile 2006/08/01 10:50:19 1.7
+++ Makefile 2006/08/30 20:33:43
@@ -2,7 +2,7 @@
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/
@@ -24,7 +24,8 @@ LIB_DEPENDS+= physfs::devel/physfs \
mikmod.>=2.4::audio/libmikmod \
vorbis.>=2.0,vorbisenc.>=2.0,vorbisfile.>=3.0::audio/libvorbis \
FLAC.>=5.2::audio/flac \
- speex.>=2.2::audio/speex
+ speex.>=2.2::audio/speex \
+ ogg.>=5.3::audio/libogg
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
Index: patches/patch-configure
===================================================================
RCS file: patch-configure
diff -N patch-configure
--- /dev/null Sat Aug 30 18:16:59 1997
+++ patch-configure Wed Aug 30 20:33:43 2006
@@ -0,0 +1,40 @@
+$OpenBSD$
+--- configure.orig Sun Oct 12 14:54:57 2003
++++ configure Wed Aug 30 16:14:12 2006
+@@ -7363,16 +7363,13 @@ 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 +7992,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"
+
+@@ -10056,4 +10053,3 @@ if test "$no_create" != yes; then
+ # would make configure fail if this is the last instruction.
+ $ac_cs_success || { (exit 1); exit 1; }
+ fi
+-