- /* check if this package actually provides the requested
- abstract package */
- found_apkg = 0;
- provided_apkgs = pkg_get_ptr(maybe, PKG_PROVIDES);
-
- while (provided_apkgs && *provided_apkgs) {
- if (!strcmp((*provided_apkgs)->name, apkg->name)) {
- found_apkg = 1;
- break;
- }
- provided_apkgs++;
- }
-
- if (found_apkg == 0) {
- opkg_msg(DEBUG,
- "%s version=%s skipped since it does not provide %s\n",
- maybe->name, pkg_get_string(maybe, PKG_VERSION), apkg->name);
- continue;
- }
-