Skip to contentSkip to conversation

samba: move RDEPENDS of perl from samba to samba-pidl

PATCH New Jens Rehsack 1 participant 1 message Jan 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 samba: move RDEPENDS of perl from samba to samba-pidl

samba-pidl is the package containing the perl-extension, so RDEPENDS must include perl for samba-pidl, not for samba.

---
 meta-networking/recipes-connectivity/samba/samba_4.1.12.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-connectivity/samba/samba_4.1.12.bb +3 -0
index 5b343f2..f8a33e3 100644
@@ -39,6 +39,8 @@ SRC_URI[md5sum] = "232016d7581a1ba11e991ec2674553c4"
 SRC_URI[sha256sum] = "033604674936bf5c77d7df299b0626052b84a41505a6a6afe902f6274fc29898"
 
 inherit systemd waf-samba cpan-base perlnative
+# remove default added RDEPENDS on perl
+RDEPENDS_${PN}_remove = "perl"
 
 DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 ctdb libbsd"
 
@@ -319,4 +321,5 @@ FILES_${PN}-python-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.d
                           ${libdir}/python${PYTHON_BASEVERSION}/site-packages/samba/dcerpc/.debug/* \
 "
 
+RDEPENDS_${PN}-pidl_append = " perl"
 FILES_${PN}-pidl = "${bindir}/pidl ${PERL_VERNDORLIB}/*"

--
1.9.1

--
Jens Rehsack - [email protected]