Skip to contentSkip to conversation

ifenslave: inherit manpages instead of adding man to RDEPENDS_${PN}

PATCH New Martin Jansa 1 participant 1 message Aug 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ifenslave: inherit manpages instead of adding man to RDEPENDS_${PN}

* set MAN_PKG because this recipe explicitly packages mandir in PN instead of PN-doc

---
 meta-networking/recipes-support/ifenslave/ifenslave_2.9.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/ifenslave/ifenslave_2.9.bb +2 -2
index 2a6a6097cc..125b59e760 100644
@@ -5,6 +5,8 @@ SECTION = "net"
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://debian/copyright;md5=acc89812938cf9ad6b1debc37cea0253"
 
+inherit manpages
+MAN_PKG = "${PN}"
 
 SRCREV = "42bfbb9beb924672ca86b86e9679ac3d6b87d992"
 SRC_URI = "git://salsa.debian.org/debian/ifenslave.git;protocol=https"
@@ -23,5 +25,3 @@ do_install() {
 
 FILES_${PN}-doc_remove = "${mandir}"
 FILES_${PN} += "${mandir}/man8/ifenslave.8"
-
-RDEPENDS_${PN} = "man"
Signature · 1 line
2.17.1