[oe-commits] Bernhard Reutner-Fischer : portmap: fix mandir for micro
git version control
git at git.openembedded.org
Thu May 5 18:46:02 UTC 2011
Module: openembedded.git
Branch: aldot/fixes
Commit: 53d5e63730501399c9032f8f6ecf17d36237a2aa
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=53d5e63730501399c9032f8f6ecf17d36237a2aa
Author: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Date: Thu May 5 20:42:06 2011 +0200
portmap: fix mandir for micro
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
recipes/portmap/portmap_6.0.bb | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/recipes/portmap/portmap_6.0.bb b/recipes/portmap/portmap_6.0.bb
index 85cf705..515f0d3 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}
More information about the Openembedded-commits
mailing list