app-crypt/ccid and app-crpyt/coolkey should have the ~ppc64 keyword added to their ebuilds. After adding the ~ppc keyword for ccid and the ~x86 keyword for coolkey to package.keywords, I was able to successfully emerge both of these packages onto my system. After adding the libcoolkeypkcs11.so module to Firefox, I was able to use a smart card to authenticate to a web site that requires a client certificate on the card to connect. Reproducible: Always Steps to Reproduce: # emerge --info Portage 2.1.2.2 (default-linux/ppc/ppc64/2006.1/64bit-userland/970/pmac, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-gentoo-r5 ppc64) ================================================================= System uname: 2.6.20-gentoo-r5 ppc64 PPC970, altivec supported Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 30 Apr 2007 00:20:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CBUILD="powerpc64-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" CHOST="powerpc64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=970 -mtune=970 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.llarian.net/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo ftp://gentoo/llarian.net/pub/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X alsa altivec apache2 apm arts berkdb bitmap-fonts cdr cli cracklib crypt cups dri dvd dvdr eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer iconv imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre perl png ppc64 pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl subversion tcpd truetype truetype-fonts type1-fonts unicode vorbis xml xorg xscreensaver xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
added ~ppc64. thanks!