On amd64 with ABI_X86="32 64": 1. Ebuild passes --enable-usbdropdir=/usr/lib64/readers/usb on all ABIs. 2. Building with USE="policykit" fails always, because ebuild passes --enable-polkit on all ABIs: checking for POLKIT... no configure: error: *** *** polkit >= 0.111 was not found. Access control will be disabled. *** You may get it from http://www.freedesktop.org/software/polkit/ *** * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase): * econf failed 3. Building with USE="udev -libusb" fails when 32-bit udev libraries are not installed, because ebuild passes --enable-libudev on all ABIs: checking for LIBUDEV... yes checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for udev_monitor_unref... configure: error: udev_monitor_unref not found, use ./configure LIBUDEV_LIBS=... * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase): * econf failed 4. Building with USE="libusb -udev" fails when 32-bit libusb libraries are not installed, because ebuild passes --enable-libusb on all ABIs: checking for LIBUSB... yes checking libusb.h usability... yes checking libusb.h presence... yes checking for libusb.h... yes checking for libusb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=... * ERROR: sys-apps/pcsc-lite-1.8.13-r1::gentoo failed (configure phase): * econf failed
Created attachment 389154 [details, diff] pcsc-lite.patch
1. should be irrelevant as the usbdropdir is used by the daemon which is only supposed to be built for the main ABIs. 2/3/4. I was afraid of something like those, thanks for the pointer on the right function to use.
Changes made in r1.3 of pcsc-lite-1.8.13-r1.ebuild are insufficient. Try: ABI_X86="32 64" MAKEOPTS="" USE="policykit" ebuild pcsc-lite-1.8.13-r1.ebuild install
Okay now it works for real :)