compiles and seems to work. recommend ~ppc-macos. Reproducible: Always Steps to Reproduce: 1. ekeyword ~ppc-macos libidn-0.5.18.ebuild 2. ebuild libidn-0.5.18.ebuild digest 3. ACCEPT_KEYWORDS="~ppc-macos" emerge -a libidn System uname: 8.2.0 Power Macintosh powerpc macos-20041118 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] dev-lang/python: [Not Present] sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: [Not Present] sys-devel/libtool: [Not Present] virtual/os-headers: 7.1 ACCEPT_KEYWORDS="ppc-macos" AUTOCLEAN="yes" CBUILD="powerpc-apple-darwin" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict" GENTOO_MIRRORS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X X509 altivec avi bluetooth cdr chroot clamav clamd crypt cups curl curlwrappers dvd dvdr emacs encode examples exif ftp gdbm gmp hpn java javascript leim libwww math mpeg ncurses offensive ogg opengl pcmcia pdflib png ppc-macos ppds python samba slp spell tetex theora threads usb vorbis wifi xml xml2 zlib userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
since IMHO gentoo-osx does not support java, specifically java-config, yet, you have to USE="-java", otherwise the ebuild (not the actual compile) breaks.
java is a bit of a problem here. Again a case where I would like to mask the java USE flag on a package basis. An alternative is to get java-config working on OSX. I started with this once, but it can never be what it is on linux currently.
libidn persists on using jikes even though it is told better through configure. Jikes doesn't work enough for it, so configure dies.