dev-libs/libbsd: fix library check for Prefix

Package-Manager: portage-2.2.28
This commit is contained in:
Fabian Groffen
2016-07-05 13:51:23 +02:00
parent 53d5c948e3
commit b595b92651

View File

@@ -18,7 +18,7 @@ DEPEND=">=sys-kernel/linux-headers-3.17"
RDEPEND=""
pkg_setup() {
local f="${ROOT}/usr/$(get_libdir)/${PN}.a"
local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
if ! has_version ${CATEGORY}/${PN}; then
if [[ -e ${f} ]]; then