Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
if IGNORE_OSMAJOR is set in env var then skip the test for testsuite purpose
Baptiste Daroussin committed 6 years ago
commit ac5157bb128344db5dded793e9713b94f2a657a1
parent fd403b8
1 file changed +3 -0
modified libpkg/pkg_config.c
@@ -860,6 +860,9 @@ pkg_compiled_for_same_os_major(void)
	const char	*myabi;
	int		 osmajor;

+
	if (getenv("IGNORE_OSMAJOR") != NULL)
+
		return (true);
+

	myabi = pkg_object_string(pkg_config_get("ABI"));
	myabi = strchr(myabi,':');
	if (myabi == NULL) {