summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2020-12-18 15:02:57 -0500
committerMike Gilbert <floppym@gentoo.org>2020-12-18 15:03:36 -0500
commit7e86f888dbe3f8bdbd1bba35051214a0cdf22bf8 (patch)
treef78601b740aa92d55c403a13662a301d1f0e7bad /dev-libs/libxml2
parentprofiles/prefix/darwin/macos: drop superseeded masks (diff)
downloadgentoo-7e86f888dbe3f8bdbd1bba35051214a0cdf22bf8.tar.gz
gentoo-7e86f888dbe3f8bdbd1bba35051214a0cdf22bf8.tar.bz2
gentoo-7e86f888dbe3f8bdbd1bba35051214a0cdf22bf8.zip
dev-libs/libxml2: fix ROOT reference for EAPI 7
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/libxml2')
-rw-r--r--dev-libs/libxml2/libxml2-2.9.10-r4.ebuild2
1 files changed, 1 insertions, 1 deletions
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