From patchwork Thu Feb 14 20:39:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-networking,1/3] traceroute: resolve multilib issues Date: Thu, 14 Feb 2013 20:39:20 -0000 From: Aws Ismail X-Patchwork-Id: 44657 Message-Id: <1360874362-25860-2-git-send-email-aws.ismail@windriver.com> To: Cc: joe.macdonald@windriver.com Make recipe changes to enable successfull building when multilib is being used. Signed-off-by: Aws Ismail --- .../traceroute/traceroute_2.0.18.bb | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb index 6eca731..f5f96b2 100644 --- a/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb +++ b/meta-networking/recipes-support/traceroute/traceroute_2.0.18.bb @@ -11,6 +11,8 @@ LICENSE = "GPL-2.0 LGPL-2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff" +PR = "r1" + inherit update-alternatives SRC_URI = "${SOURCEFORGE_MIRROR}/traceroute/traceroute/traceroute-2.0.18/traceroute-2.0.18.tar.gz \ @@ -26,13 +28,13 @@ do_compile() { do_install() { install -d ${D}${bindir} - install -m755 ${PN}/${PN} ${D}${bindir} + install -m755 ${BPN}/${BPN} ${D}${bindir} install -m755 wrappers/tcptraceroute ${D}${bindir} install -d ${D}${mandir} - install -p -m644 ${PN}/${PN}.8 ${D}${mandir} - ln -s ${PN}.8 ${D}${mandir}/${PN}6.8 + install -p -m644 ${BPN}/${BPN}.8 ${D}${mandir} + ln -s ${PN}.8 ${D}${mandir}/${BPN}6.8 ln -s ${PN}.8 ${D}${mandir}/tcptraceroute.8 }