Add requires_private to pkg_t.

pull/4/head
William Pitcock 2012-05-02 21:37:32 +00:00
parent 656b34fb45
commit bea3c202de
2 changed files with 3 additions and 0 deletions

View File

@ -415,6 +415,8 @@ parse_file(const char *filename, FILE *f)
pkg->libs = strdup_parse(pkg, value);
else if (!strcasecmp(key, "Requires"))
pkg->requires = parse_deplist(pkg, value);
else if (!strcasecmp(key, "Requires.private"))
pkg->requires_private = parse_deplist(pkg, value);
else if (!strcasecmp(key, "Conflicts"))
pkg->conflicts = parse_deplist(pkg, value);
break;

1
pkg.h
View File

@ -94,6 +94,7 @@ struct pkg_ {
char *cflags;
pkg_dependency_t *requires;
pkg_dependency_t *requires_private;
pkg_dependency_t *conflicts;
pkg_tuple_t *vars;
};