summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2009-09-12 22:47:27 +0200
committerDan McGee <dan@archlinux.org>2009-09-14 22:09:05 -0500
commitd0d6c58c0579ec4d6ada9a9f91acc93215ca2773 (patch)
tree2248c3b7b30b27906836aaab408f242c71a5a5ab /lib/libalpm
parentbc24c002fedc9a554c1fd6a9650f548ee55bd49c (diff)
downloadpacman-d0d6c58c0579ec4d6ada9a9f91acc93215ca2773.tar.xz
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>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_package.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index fef4b469..9c7c1617 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -112,6 +112,8 @@ static int parse_descfile(struct archive *a, pmpkg_t *newpkg)
newpkg->provides = alpm_list_add(newpkg->provides, strdup(ptr));
} else if(!strcmp(key, "backup")) {
newpkg->backup = alpm_list_add(newpkg->backup, strdup(ptr));
+ } else if(!strcmp(key, "makepkgopt")) {
+ /* not used atm */
} else {
_alpm_log(PM_LOG_DEBUG, "%s: syntax error in description file line %d\n",
newpkg->name ? newpkg->name : "error", linenum);