From 3b65557db8d43ad0071149c2f16d6ed1b927e801 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Wed, 13 Jun 2012 11:42:17 +0000
Subject: [PATCH] package-ipkg.sh: copy the package provides list for all
 virtual PROVIDES

SVN-Revision: 32332
---
 include/package-ipkg.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index e9bac7a23be9..7ff3f6e23aaf 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -144,6 +144,7 @@ ifeq ($(DUMP),)
 			fi; \
 		done; \
 	) | sort -u > $(PKG_INFO_DIR)/$(1).provides
+	$(if $(PROVIDES),@for pkg in $(PROVIDES); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$pkg.provides; done)
 	$(CheckDependencies)
 
 	$(RSTRIP) $$(IDIR_$(1))
-- 
2.30.2