When troubleshooting bug#338247 it was convenient for me to use a newer EAPI since I could run the configure step separately from the compile step. Attached is a minimal diff that separates the new blocks out (src_prepare, src_configure). This could use more testing to make sure it works properly in all environments. Reproducible: Always
Created attachment 308433 [details, diff] nagios-plugins 1.4.15 EAPI 4
Fixed in 1.4.16. Thanks!