From 49d5f70658ab0386bee5869656d0405a6d416e35 Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Fri, 4 Dec 2009 08:17:55 +0100 Subject: task-base: Introduce DISTRO_apm and convert recipes to use it. * This allows distros to override the apm provider with an DISTRO_apm variable * The change should be transparent and invisible for other distros * This could also be done with a virtual/apm package, and a PREFERED_PROVIDER set to apm Signed-off-by: Sebastian Spaeth --- recipes/ipaq-sleep/ipaq-sleep_0.9.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recipes/ipaq-sleep/ipaq-sleep_0.9.bb') diff --git a/recipes/ipaq-sleep/ipaq-sleep_0.9.bb b/recipes/ipaq-sleep/ipaq-sleep_0.9.bb index 24d881dd05..6c37b73e8e 100644 --- a/recipes/ipaq-sleep/ipaq-sleep_0.9.bb +++ b/recipes/ipaq-sleep/ipaq-sleep_0.9.bb @@ -2,8 +2,9 @@ DESCRIPTION = "Automatic sleep/suspend control daemon" SECTION = "x11/base" LICENSE = "GPL" DEPENDS = "apmd virtual/xserver libxext virtual/libx11 libxau xscrnsaverh libxss" -RDEPENDS = "apm" -PR = "r6" +DISTRO_apm ?= "apm" +RDEPENDS = "${DISTRO_apm}" +PR = "r7" inherit gpe pkgconfig -- cgit 1.2.3-korg