aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-09-23 15:29:25 +0400
committerRoman I Khimov <khimov@altell.ru>2010-09-24 23:04:32 +0400
commitb495b6f66af84f5c2d7d6d4b97c522110c93cec2 (patch)
tree38bb37085f79595f2900a9c6bf3a411a54a831b8
parentcf18d5677a07eb8266dfc36c0f7bbb7d841cb258 (diff)
downloadopenembedded-b495b6f66af84f5c2d7d6d4b97c522110c93cec2.zip
openembedded-b495b6f66af84f5c2d7d6d4b97c522110c93cec2.tar.gz
openembedded-b495b6f66af84f5c2d7d6d4b97c522110c93cec2.tar.bz2
groff: fix groff-native build
Fails at install stage in doc/ with missing images otherwise. Signed-off-by: Roman I Khimov <khimov@altell.ru>
-rw-r--r--recipes/groff/groff_1.20.1.bb20
1 files changed, 11 insertions, 9 deletions
diff --git a/recipes/groff/groff_1.20.1.bb b/recipes/groff/groff_1.20.1.bb
index bb613e8..de450d2 100644
--- a/recipes/groff/groff_1.20.1.bb
+++ b/recipes/groff/groff_1.20.1.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "GNU roff"
SECTION = "base"
LICENSE = "GPL"
-PR = "r0"
+PR = "r1"
SRC_URI = "http://ftp.gnu.org/gnu/groff/groff-${PV}.tar.gz \
"
@@ -11,14 +11,16 @@ SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c
inherit autotools
do_configure_prepend(){
- sed -i \
- -e '/^GROFFBIN=/s:=.*:=echo:' \
- -e '/^TROFFBIN=/s:=.*:=echo:' \
- -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
- -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
- ${S}/contrib/*/Makefile.sub \
- ${S}/doc/Makefile.in \
- ${S}/doc/Makefile.sub
+ if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
+ sed -i \
+ -e '/^GROFFBIN=/s:=.*:=echo:' \
+ -e '/^TROFFBIN=/s:=.*:=echo:' \
+ -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
+ -e '/^GROFF_BIN_DIR=/s:=.*:=:' \
+ ${S}/contrib/*/Makefile.sub \
+ ${S}/doc/Makefile.in \
+ ${S}/doc/Makefile.sub
+ fi
}
BBCLASSEXTEND = "native"