diff --git a/lib/pkgmatch.c b/lib/pkgmatch.c index 0c0fc373..cacf3909 100644 --- a/lib/pkgmatch.c +++ b/lib/pkgmatch.c @@ -115,6 +115,10 @@ xbps_pkgdep_match(const char *instpkg, char *pattern) memset(&basefname, 0, sizeof(basefname)); + /* Check for a full match with strcmp, otherwise try csh_match() */ + if (strcmp(instpkg, pattern) == 0) + return 1; + condition = strpbrk(pattern, "><="); if (condition) { const char *ch;