x11-wm/dwm does not respect EPREFIX in src_install. It tries to install dwm outside the EPREFIX, which fails. This happens with both stable and keyworded versions of dwm. Reproducible: Always
Created attachment 302309 [details, diff] Patch to respect EPREFIX. I am not entirely sure this is an proper fix as I am relatively new to Gentoo/Prefix, but it fixed the bug in my case. Note that it should work for all versions of dwm currently in portage.
Hi Merlijn, Because the package has no Prefix keywords, it's likely not to work for Prefix. Just so you know. Prefix doesn't do stable or unstable keywords. Your patch looks like the absolute minimum thing that needs to be done to the ebuild, but it requires a bump to EAPI=3 as well. It may be that config.mk needs some changes to search in the Prefix, as the sed in src_unpack suggests, but I would have to check that.
cvs/gentoo-x86/x11-wm/dwm $ ebuildvar EAPI dwm-5.6.1.ebuild : EAPI="0" dwm-5.7.2.ebuild : EAPI="0" dwm-5.8.2.ebuild : EAPI="0" dwm-5.9.ebuild : EAPI="4" dwm-6.0.ebuild : EAPI="4" It's EAPI 4 already.
I should probably cvs update then :/
as I expected, some additional prefixes were necessary, committed now, should fix this bug Thanks Merlijn!