Fix for uninstalled handling #198
|
@ -533,7 +533,8 @@ pkgconf_pkg_try_specific_path(pkgconf_client_t *client, const char *path, const
|
||||||
{
|
{
|
||||||
PKGCONF_TRACE(client, "found (uninstalled): %s", uninst_locbuf);
|
PKGCONF_TRACE(client, "found (uninstalled): %s", uninst_locbuf);
|
||||||
pkg = pkgconf_pkg_new_from_file(client, uninst_locbuf, f);
|
pkg = pkgconf_pkg_new_from_file(client, uninst_locbuf, f);
|
||||||
pkg->flags |= PKGCONF_PKG_PROPF_UNINSTALLED;
|
if (pkg != NULL)
|
||||||
|
pkg->flags |= PKGCONF_PKG_PROPF_UNINSTALLED;
|
||||||
}
|
}
|
||||||
else if ((f = fopen(locbuf, "r")) != NULL)
|
else if ((f = fopen(locbuf, "r")) != NULL)
|
||||||
{
|
{
|
||||||
|
|
|
@ -104,7 +104,7 @@ the requested modules.
|
||||||
.It Fl -uninstalled
|
.It Fl -uninstalled
|
||||||
Exit with a non-zero result if the dependency resolver uses an
|
Exit with a non-zero result if the dependency resolver uses an
|
||||||
.Sq uninstalled
|
.Sq uninstalled
|
||||||
module as part of it's solution.
|
module as part of its solution.
|
||||||
.It Fl -no-uninstalled
|
.It Fl -no-uninstalled
|
||||||
Forbids the dependency resolver from considering 'uninstalled' modules as part
|
Forbids the dependency resolver from considering 'uninstalled' modules as part
|
||||||
of a solution.
|
of a solution.
|
||||||
|
|
Loading…
Reference in New Issue