From 7e86f888dbe3f8bdbd1bba35051214a0cdf22bf8 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Fri, 18 Dec 2020 15:02:57 -0500 Subject: dev-libs/libxml2: fix ROOT reference for EAPI 7 Signed-off-by: Mike Gilbert --- dev-libs/libxml2/libxml2-2.9.10-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dev-libs/libxml2') diff --git a/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild b/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild index a6678320ffe2..65f752d81b4a 100644 --- a/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild +++ b/dev-libs/libxml2/libxml2-2.9.10-r4.ebuild @@ -205,7 +205,7 @@ multilib_src_install_all() { pkg_postinst() { # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. - if [[ "${ROOT}" != "/" ]]; then + if [[ -n ${ROOT} ]]; then elog "Skipping XML catalog creation for stage building (bug #208887)." else # need an XML catalog, so no-one writes to a non-existent one -- cgit v1.2.3-65-gdbad