summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2013-02-19 10:11:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-22 06:09:21 -0800
commitc07179750301f84c3ba7f55cb2603128cf2fd6dc (patch)
tree3f4f63144020f53de3cc3274cf83c531a8b2ce03
parente4d204412e062cfb21f0f5ac9311d5c82f556081 (diff)
downloadpoky-c07179750301f84c3ba7f55cb2603128cf2fd6dc.tar.gz
groff: upgrade to 1.22.2
- add code for generating the gnulib configure script - replace /usr/bin/perl with /usr/bin/env perl (From OE-Core rev: c205124d135935855b9b479125f5bddce96a2872) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/groff/groff_1.22.2.bb (renamed from meta/recipes-extended/groff/groff_1.20.1.bb)16
1 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-extended/groff/groff_1.20.1.bb b/meta/recipes-extended/groff/groff_1.22.2.bb
index 157365b2a7..d1361ab8e1 100644
--- a/meta/recipes-extended/groff/groff_1.20.1.bb
+++ b/meta/recipes-extended/groff/groff_1.22.2.bb
@@ -4,14 +4,14 @@ formatting commands and produces formatted output."
4SECTION = "base" 4SECTION = "base"
5HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/" 5HOMEPAGE = "ftp://ftp.gnu.org/gnu/groff/"
6LICENSE = "GPLv2" 6LICENSE = "GPLv2"
7PR = "r2" 7PR = "r0"
8 8
9LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" 9LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
10 10
11SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz" 11SRC_URI = "${GNU_MIRROR}/groff/groff-${PV}.tar.gz"
12 12
13SRC_URI[md5sum] = "48fa768dd6fdeb7968041dd5ae8e2b02" 13SRC_URI[md5sum] = "9f4cd592a5efc7e36481d8d8d8af6d16"
14SRC_URI[sha256sum] = "b645878135cb620c6c417c5601bfe96172245af12045540d7344938b4c2cd805" 14SRC_URI[sha256sum] = "380864dac4772e0c0d7b1282d25d0c5fd7f63baf45c87c4657afed22a13d2076"
15 15
16DEPENDS = "groff-native" 16DEPENDS = "groff-native"
17DEPENDS_class-native = "" 17DEPENDS_class-native = ""
@@ -34,10 +34,18 @@ do_configure_prepend() {
34 fi 34 fi
35} 35}
36 36
37do_configure_append() {
38 # generate gnulib configure script
39 olddir=`pwd`
40 cd ${S}/src/libs/gnulib/
41 ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || bbfatal "autoreconf execution failed."
42 cd ${olddir}
43}
44
37do_install_append() { 45do_install_append() {
38 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location 46 # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location
39 # for target as /usr/bin/perl, so fix it to /usr/bin/perl. 47 # for target as /usr/bin/perl, so fix it to /usr/bin/perl.
40 for i in afmtodit mmroff; do 48 for i in afmtodit mmroff gropdf pdfmom; do
41 if [ -f ${D}${bindir}/$i ]; then 49 if [ -f ${D}${bindir}/$i ]; then
42 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i 50 sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
43 fi 51 fi