the ebuild doesnt compile because the packages defaults to trying to build a static package, where mac osx doesnt ship with static libs (??) --disable-static on ./configure helps but it chokes on examples? if you can disable the examples, itll work fine. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Alexander, can you and the macos team please create a mail alias and bugzilla login for that alias for macos@gentoo please
osx@gentoo.org is our alias.
Indeed it (libvorbis-1.0.1-r2) fails on examples because of missing -lcrt0.o (OSX only has crt1.o). Works okay without the examples (and a workaround for invalid symlinks on .so). I've put all of this in an ebuild, and it emerged properly (CFLAGS="-Os -pipe -faltivec -mcpu=7450 -mtune=7450", USE="macos X berkdb ldap mysql perl python ruby")... I don't know how important the examples are, but maybe you could put it in ~macos anyway. It also tested successfully with vorbis-tools (will make a separate bug for that). Diff on the original ebuild is : --- libvorbis-1.0.1-r2.ebuild.orig Thu Jul 29 04:15:24 2004 +++ libvorbis-1.0.1-r2.ebuild Thu Jul 29 04:16:15 2004 @@ -48,13 +48,19 @@ append-ldflags -fPIC econf || die + use macos && cd ${S} && sed -e 's/examples//' Makefile > Makefile.tmp && mv Makefile.tmp Makefile emake || die } src_install() { make DESTDIR=${D} install || die - dosym /usr/lib/libvorbisfile.so.3.1.0 /usr/lib/libvorbisfile.so.0 - dosym /usr/lib/libvorbisenc.so.2.0.0 /usr/lib/libvorbisenc.so.0 + if [ `use macos` ]; then + dosym /usr/lib/libvorbisfile.3.1.0.dylib /usr/lib/libvorbisfile.0.dylib + dosym /usr/lib/libvorbisenc.2.0.0.dylib /usr/lib/libvorbisenc.0.dylib + else + dosym /usr/lib/libvorbisfile.so.3.1.0 /usr/lib/libvorbisfile.so.0 + dosym /usr/lib/libvorbisenc.so.2.0.0 /usr/lib/libvorbisenc.so.0 + fi rm -rf ${D}/usr/share/doc dodoc AUTHORS COPYING README todo.txt
Created attachment 36355 [details] Modified ebuild This builds successfully, and seems to work as far as I've tested.
Done in CVS.
Closing out bugs that've been resolved for a while now...