current version of curl (7.14.0) automatically checks if net-dns/libidn is installed and if so, it links with that, which is illegal according to gentoo policy: curl compiled on system without libidl installed: <root@CogES>/tmp/curl-7.14.0: ldd /usr/lib/libcurl.so.3.0.0 /etc/libcwait.so (0xb7ee3000) linux-gate.so.1 => (0xffffe000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7e92000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7d8a000) libdl.so.2 => /lib/libdl.so.2 (0xb7d86000) libz.so.1 => /lib/libz.so.1 (0xb7d73000) libc.so.6 => /lib/libc.so.6 (0xb7c47000) /lib/ld-linux.so.2 (0x80000000) curl compiled on the same system without changing USE flags, but after instalation of libidn: <root@CogES>/tmp/curl-7.14.0: ldd /usr/lib/libcurl.so.3.0.0 /etc/libcwait.so (0xb7ef6000) linux-gate.so.1 => (0xffffe000) libidn.so.11 => /usr/lib/libidn.so.11 (0xb7ea7000) libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7e75000) libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7d6d000) libdl.so.2 => /lib/libdl.so.2 (0xb7d69000) libz.so.1 => /lib/libz.so.1 (0xb7d56000) libc.so.6 => /lib/libc.so.6 (0xb7c2a000) /lib/ld-linux.so.2 (0x80000000)
Created attachment 66980 [details, diff] curl-7.14.0.ebuild.patch this is simple patch for curl ebuild, which solves described problem
i forgot one thing: note 'idn' flag is local, so it should either be moved to global (4 packages make use of it already) or added for curl to use.local.desc
Fixed in the tree, thanks.