From c6ebce701ee60aa194e1736e63c081baa3fd1644 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 5 Oct 2014 16:41:38 +0000 Subject: [PATCH] build: propagate package conflicts to opkg metadata Signed-off-by: Felix Fietkau SVN-Revision: 42771 --- include/package-ipkg.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 7cea44af65..a4901b583f 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -160,6 +160,11 @@ ifeq ($(DUMP),) DEPENDS=$$$${DEPENDS:+$$$$DEPENDS, }$$$${depend##+}; \ done; \ [ -z "$$$$DEPENDS" ] || echo "Depends: $$$$DEPENDS"; \ + CONFLICTS=''; \ + for conflict in $(CONFLICTS); do \ + CONFLICTS=$$$${CONFLICTS:+$$$$CONFLICTS, }$$$$conflict; \ + done; \ + [ -z "$$$$CONFLICTS" ] || echo "Conflicts: $$$$CONFLICTS"; \ $(if $(PROVIDES), echo "Provides: $(PROVIDES)"; ) \ echo "Source: $(SOURCE)"; \ $(if $(PKG_LICENSE), echo "License: $(PKG_LICENSE)"; ) \