as per summary, pretty much. Same problem as the inexplicably closed http://bugs.gentoo.org/show_bug.cgi?id=85914 Reproducible: Always Steps to Reproduce: 1.USE=ladcca emerge -vp =vkeybd-0.1.15 Actual Results: ... cc -o vkeybd vkb.o vkb_device.o oper_awe.o oper_midi.o oper_alsa.o -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lasound -lm vkb.o(.text+0x19): In function `main': : undefined reference to `cca_extract_args' oper_alsa.o(.text+0x1fb): In function `seq_open': : undefined reference to `cca_init' oper_alsa.o(.text+0x20c): In function `seq_open': : undefined reference to `cca_server_connected' oper_alsa.o(.text+0x21c): In function `seq_open': : undefined reference to `cca_event_new_with_type' oper_alsa.o(.text+0x25a): In function `seq_open': : undefined reference to `cca_event_set_string' oper_alsa.o(.text+0x26b): In function `seq_open': : undefined reference to `cca_send_event' oper_alsa.o(.text+0x343): In function `seq_open': : undefined reference to `cca_server_connected' collect2: ld returned 1 exit status make: *** [vkeybd] Error 1 This seems to happen because vkeybd requires hacking the Makefile to tell it to use ladcca. Putting this line in src_compile() fixed the problem for me: use ladcca && sed -i "s/USE_LADCCA *=.*$/USE_LADCCA = 1/" ${S}/Makefile || \ die "Error altering Makefile"
I'll reopen the original bug
Hi Joe, thanks for your fix! This indeed solves the problem with the Makefile. I just committed it to portage cvs as vkeybd-0.1.15-r1.