From ff6f45b68a15c4bf33ab401e4864205e2a57a066 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date: Sun, 15 Nov 2015 10:11:45 +0100
Subject: add new ADK Symbol PKG_NEEDS

There are a lot of packages which needs special features either
toolchain or hardware features. Add a new symbol which will be
used to disable packages, when a toolchain for example does
not provide this feature.

At the moment following features are required to set for a
package: threads rt c++.

There will follow: mmu iconv.

This will help to better support targets without MMU or
threading support.
---
 package/xinit/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'package/xinit')

diff --git a/package/xinit/Makefile b/package/xinit/Makefile
index a352a9495..cf65daeaf 100644
--- a/package/xinit/Makefile
+++ b/package/xinit/Makefile
@@ -9,8 +9,9 @@ PKG_RELEASE:=		6
 PKG_HASH:=		3079d3fb86af99f4c2c2907b5725e5820fdb2144d3be6002ec367bfcebc5c480
 PKG_DESCR:=		x window system initializer
 PKG_SECTION:=		x11/utils
-PKG_DEPENDS:=		xorg-server mcookie xauth xset xterm libstdcxx
+PKG_DEPENDS:=		xorg-server mcookie xauth xset xterm
 PKG_BUILDDEP:=		xorg-server
+PKG_NEEDS:=		c++
 PKG_URL:=		http://xorg.freedesktop.org/
 PKG_SITES:=		http://xorg.freedesktop.org/archive/individual/app/
 
-- 
cgit v1.2.3