Patchwork sip.bbclass: improve RDEPENDS to add python-sip only for PN

login
register
mail settings
Submitter Martin Jansa
Date Feb. 4, 2013, 9:02 p.m.
Message ID <1360011734-9796-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/44039/
State Accepted
Commit 36dd58a58fc4b04fa7fb4b02a49a134bb6c21145
Headers show

Comments

Martin Jansa - Feb. 4, 2013, 9:02 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/classes/sip.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/sip.bbclass b/meta/classes/sip.bbclass
index 074d4dd..711f851 100644
--- a/meta/classes/sip.bbclass
+++ b/meta/classes/sip.bbclass
@@ -4,7 +4,7 @@ 
 STAGING_SIPDIR ?= "${STAGING_DATADIR_NATIVE}/sip"
 
 DEPENDS  =+ "sip-native"
-RDEPENDS += "python-sip"
+RDEPENDS_${PN} += "python-sip"
 
 # default stuff, do not uncomment
 # EXTRA_SIPTAGS = "-tWS_X11 -tQt_4_3_0"