summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-11-01 13:13:46 +0100
committerAllan McRae <allan@archlinux.org>2013-11-15 02:02:27 +0100
commit0da98ec6bac17b4f56b67a6f5b2fa24896671a9f (patch)
tree832154e8215244f7c08eeab6d7ae03b18463e03c /lib/libalpm
parent5273e38fb254d6bfb9bce9078d346f3c08a294b1 (diff)
downloadpacman-0da98ec6bac17b4f56b67a6f5b2fa24896671a9f.tar.gz
pacman-0da98ec6bac17b4f56b67a6f5b2fa24896671a9f.tar.xz
Ignore makedepend and checkdepend entries when parsing .PKGINFO file
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/be_package.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c
index 3f577bad..4e814f8b 100644
--- a/lib/libalpm/be_package.c
+++ b/lib/libalpm/be_package.c
@@ -218,6 +218,10 @@ static int parse_descfile(alpm_handle_t *handle, struct archive *a, alpm_pkg_t *
} else if(strcmp(key, "optdepend") == 0) {
alpm_depend_t *optdep = _alpm_splitdep(ptr);
newpkg->optdepends = alpm_list_add(newpkg->optdepends, optdep);
+ } else if(strcmp(key, "makedepend") == 0) {
+ /* not used atm */
+ } else if(strcmp(key, "checkdepend") == 0) {
+ /* not used atm */
} else if(strcmp(key, "conflict") == 0) {
alpm_depend_t *conflict = _alpm_splitdep(ptr);
newpkg->conflicts = alpm_list_add(newpkg->conflicts, conflict);