net-libs/liblockfile-1.08 fails to emerge on OS X. The error is: i686-apple-darwin9-gcc -fPIC -shared -Wl,-soname,liblockfile.so.1 \ -o liblockfile.so lockfile.o -lc ld: unknown option: -soname collect2: ld returned 1 exit status make: *** [liblockfile.so] Error 1 Obviously, soname is not appropriate on OS X. The part of the ebuild # needs checking -- grobian 2009-04-30 # [[ ${CHOST} == *-darwin* ]] \ # && cp ${FILESDIR}/Makefile.Darwin.in Makefile.in is the difference from the previous version causing failure. If I uncomment back the part, it gets emerged successfully.
Thanks for testing. Are versions and things then also correct?
Versions of what do you mean? How do I test it? Sorry, I even don't know what the package is for; it's just pulled by -D system ... in fact, a dependency of emacs. Well, but otool -L emacs doesn't show liblockfile in the linked libraries. Is it needed at all?
The bug #203624 says it's used by movemail. % otool -L ~/Gentoo/usr/libexec/emacs/22.3/i686-apple-darwin9/movemail /Users/tetsushi/Gentoo/usr/libexec/emacs/22.3/i686-apple-darwin9/movemail: /Users/tetsushi/Gentoo/usr/lib/liblockfile.1.0.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/tetsushi/Gentoo/usr/lib/gcc/i686-apple-darwin9/4.2.1/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3) % ~/Gentoo/usr/libexec/emacs/22.3/i686-apple-darwin9/movemail Usage: movemail [-p] inbox destfile [POP-password] There is no problem for me.
I uncommented the makefile thing, thanks for testing!