I have attached a patch to fix install issues.
Created attachment 1886 [details, diff] Patch to erc-2.93.ebuild
JR, you had the right idea, but the fix was much simpler. Thanks for catching this.