[pacman-dev] [PATCH] libalpm: write {check, make}depends to localdb when installing package

Denis Ollier larchunix at gmail.com
Fri Mar 29 10:04:17 UTC 2019


It is a follow up of commits 0994893 and f9eb2aa.

Signed-off-by: Denis Ollier <larchunix at gmail.com>
---
 lib/libalpm/be_local.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 5a03f257..a4b72776 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -1033,6 +1033,8 @@ int _alpm_local_db_write(alpm_db_t *db, alpm_pkg_t *info, int inforeq)
 		write_deps(fp, "%REPLACES%", info->replaces);
 		write_deps(fp, "%DEPENDS%", info->depends);
 		write_deps(fp, "%OPTDEPENDS%", info->optdepends);
+		write_deps(fp, "%MAKEDEPENDS%", info->makedepends);
+		write_deps(fp, "%CHECKDEPENDS%", info->checkdepends);
 		write_deps(fp, "%CONFLICTS%", info->conflicts);
 		write_deps(fp, "%PROVIDES%", info->provides);
 
-- 
2.21.0


More information about the pacman-dev mailing list