forked from ariadne/pkgconf
libpkgconf: pkg: do not mention PKG_CONFIG_SKIP_CONFLICTS env var when simplified errors are requested (closes #134)
parent
550a86a4ee
commit
08cf571dda
|
@ -1388,8 +1388,12 @@ pkgconf_pkg_walk_conflicts_list(pkgconf_client_t *client,
|
||||||
pkgconf_error(client, "Version '%s' of '%s' conflicts with '%s' due to satisfying conflict rule '%s %s%s%s'.\n",
|
pkgconf_error(client, "Version '%s' of '%s' conflicts with '%s' due to satisfying conflict rule '%s %s%s%s'.\n",
|
||||||
pkgdep->version, pkgdep->realname, root->realname, parentnode->package, pkgconf_pkg_get_comparator(parentnode),
|
pkgdep->version, pkgdep->realname, root->realname, parentnode->package, pkgconf_pkg_get_comparator(parentnode),
|
||||||
parentnode->version != NULL ? " " : "", parentnode->version != NULL ? parentnode->version : "");
|
parentnode->version != NULL ? " " : "", parentnode->version != NULL ? parentnode->version : "");
|
||||||
|
|
||||||
|
if (!(client->flags & PKGCONF_PKG_PKGF_SIMPLIFY_ERRORS))
|
||||||
|
{
|
||||||
pkgconf_error(client, "It may be possible to ignore this conflict and continue, try the\n");
|
pkgconf_error(client, "It may be possible to ignore this conflict and continue, try the\n");
|
||||||
pkgconf_error(client, "PKG_CONFIG_IGNORE_CONFLICTS environment variable.\n");
|
pkgconf_error(client, "PKG_CONFIG_IGNORE_CONFLICTS environment variable.\n");
|
||||||
|
}
|
||||||
|
|
||||||
pkgconf_pkg_unref(client, pkgdep);
|
pkgconf_pkg_unref(client, pkgdep);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue