#14589: fix for [14424 libsdl_mixer cannot load libvorbisfile.dylib even though it is installed] --------------------------------+------------------------------------------- Reporter: neric27@wanadoo.fr | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- 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 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14589> MacPorts </projects/macports> Ports system for Mac OS