id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	port
14589	fix for [14424 libsdl_mixer cannot load libvorbisfile.dylib even though it is installed]	neric27@…	macports-tickets@lists.macosforge.org	"There is a problem with libsdl_mixer.

It seems that libsdl_mixer calls

{{{
 dlopen(library_name.dylib)
}}}

instead of 

{{{
 dlopen(/opt/local/lib/library_name.dylib)
}}}

this is controlled via macros : 
{{{
-DMP3_DYNAMIC=... and -DOGG_DYNAMIC=...
}}}
in the Makefile.

In turn, it is configured in configure script.
{{{
ogg_lib=`find_lib libvorbisidec*.dylib`
}}}
and so on.

Attached a patch changing those lines in configure to 

{{{
ogg_lib=/opt/local/lib/`find_lib libvorbisidec*.dylib`
}}}

Then, the libraries can be correctly loaded.

It fixes missing sound in frozen-bubble and neverball...

Tested on ibook G4 10.4.9 PPC"	defect	closed	Normal		ports	1.6.0	duplicate			
