Add makepkgopt to be_package.c
After commit 774c252
the --debug output shows 5-6 "syntax error..." lines
for each package. After this patch pacman recognizes makepkgopt as a valid
key, but doesn't do anything.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
bc24c002fe
commit
d0d6c58c05
1 changed files with 2 additions and 0 deletions
|
@ -112,6 +112,8 @@ static int parse_descfile(struct archive *a, pmpkg_t *newpkg)
|
||||||
newpkg->provides = alpm_list_add(newpkg->provides, strdup(ptr));
|
newpkg->provides = alpm_list_add(newpkg->provides, strdup(ptr));
|
||||||
} else if(!strcmp(key, "backup")) {
|
} else if(!strcmp(key, "backup")) {
|
||||||
newpkg->backup = alpm_list_add(newpkg->backup, strdup(ptr));
|
newpkg->backup = alpm_list_add(newpkg->backup, strdup(ptr));
|
||||||
|
} else if(!strcmp(key, "makepkgopt")) {
|
||||||
|
/* not used atm */
|
||||||
} else {
|
} else {
|
||||||
_alpm_log(PM_LOG_DEBUG, "%s: syntax error in description file line %d\n",
|
_alpm_log(PM_LOG_DEBUG, "%s: syntax error in description file line %d\n",
|
||||||
newpkg->name ? newpkg->name : "error", linenum);
|
newpkg->name ? newpkg->name : "error", linenum);
|
||||||
|
|
Loading…
Add table
Reference in a new issue