I'm using xorg-server-9999::x11 My problem is the following: During the pkg_postrm, there is if [[ -z ${REPLACED_BY} && -e ${ROOT}/usr/$(get_libdir)/xorg/modules ]]; then rm -rf "${ROOT}"/usr/$(get_libdir)/xorg/modules fi Apparently, Tomas Chvatal (Yeah, git blamed him…) wrote REPLACED_BY instead of REPLACED_BY_VERSION.
Created attachment 270867 [details, diff] Fixes the unwanted removal
Also, please fix http://devmanual.gentoo.org/ebuild-writing/eapi/index.html#variables to put REPLACED_BY by REPLACED_BY_VERSION.