View | Details | Raw Unified | Return to bug 204479
Collapse All | Expand All

(-)./libpkg/pkg_config.c (-4 / +4 lines)
Lines 884-894 pkg_ini(const char *path, const char *re Link Here
884
		}
893
		}
885
	}
894
	}
886
895
887
	if (path == NULL)
896
	if (path == NULL) {
888
		path = PREFIX"/etc/pkg.conf";
897
		path = PREFIX"/etc/pkg.conf";
889
898
		if (pkg_rootdir != NULL)
890
	if (pkg_rootdir != NULL)
899
			asprintf(&rootedpath, "%s/%s", pkg_rootdir, path);
891
		asprintf(&rootedpath, "%s/%s", pkg_rootdir, path);
900
	}
892
901
893
	p = ucl_parser_new(0);
902
	p = ucl_parser_new(0);
894
	ucl_parser_register_variable (p, "ABI", myabi);
903
	ucl_parser_register_variable (p, "ABI", myabi);

Return to bug 204479