Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Revert "Fixing the failure to report shlib-to-shlib missing dependencies for 'pkg check -B'"
Baptiste Daroussin committed 11 years ago
commit d76c4fe926fc7b7b214b3c0f5a050112e2818c1b
parent ac41f9b
1 file changed +3 -6
modified libpkg/pkg_elf.c
@@ -118,13 +118,10 @@ add_shlibs_to_pkg(__unused void *actdata, struct pkg *pkg, const char *fpath,
	case EPKG_END:		/* A system library */
		return (EPKG_OK);
	default:
-
		/* Report link resolution errors in shared library. */
-
		if (is_shlib) {
-
			pkg_get(pkg, PKG_NAME, &pkgname, PKG_VERSION, &pkgversion);
-
			warnx("(%s-%s) %s - shared library %s not found",
-
			      pkgname, pkgversion, fpath, name);
+
		/* Ignore link resolution errors if we're analysing a
+
		   shared library. */
+
		if (is_shlib)
			return (EPKG_OK);
-
		}

		while (pkg_files(pkg, &file) == EPKG_OK) {
			filepath = file->path;