From 53d5e63730501399c9032f8f6ecf17d36237a2aa Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 5 May 2011 20:42:06 +0200 Subject: portmap: fix mandir for micro Signed-off-by: Bernhard Reutner-Fischer --- recipes/portmap/portmap_6.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/portmap/portmap_6.0.bb b/recipes/portmap/portmap_6.0.bb index 85cf7059e9..515f0d3862 100644 --- a/recipes/portmap/portmap_6.0.bb +++ b/recipes/portmap/portmap_6.0.bb @@ -1,6 +1,6 @@ require portmap.inc -PR = "r5" +PR = "r6" SRC_URI = "http://www.sourcefiles.org/Networking/Tools/Miscellanenous/portmap-6.0.tgz \ file://destdir-no-strip.patch \ @@ -14,6 +14,7 @@ CPPFLAGS += "-DFACILITY=LOG_DAEMON -DENABLE_DNS" CFLAGS += "-Wall -Wstrict-prototypes -fPIC" fakeroot do_install() { + sed -i -e "s|/usr/share/man|${mandir}|" ${B}/Makefile install -d ${D}${mandir}/man8/ ${D}${base_sbindir} ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap oe_runmake install DESTDIR=${D} -- cgit 1.2.3-korg