net-misc/vpnc-0.5.3_p457-r2 fails to build without one of USE=bindist or USE=openssl flags enabled. Dependency checking fails to check for either gnutls or openssl to build against when neither use flag is set Reproducible: Always Steps to Reproduce: 1. USE="-bindist -openssl" emerge vpnc Actual Results: Builds fails as cannot find gnutls libraries Expected Results: Ebuild defaults correctly to GnuTLS with no use flags set and dependency checking pulls it in.
Created attachment 297803 [details] Ensure gnutls is pulled in as dependency when USE="openssl" flag is not set Not sure if this is an optimal solution, this ought to ensure vpnc will build under all circumstances, but not necessarily against the intended library.
The patch looks good to me, thanks for catching this. ;)
+*vpnc-0.5.3_p514 (14 Feb 2012) + + 14 Feb 2012; Justin Lecher <jlec@gentoo.org> vpnc-0.5.3_p457-r2.ebuild, + +vpnc-0.5.3_p514.ebuild, +files/vpnc-0.5.3_p514-as-needed.patch, + metadata.xml: + Version Bump, #392999, fix for compilation with as-needed, respect CC, ensure + correct deps, #397511 +