diff options
Diffstat (limited to 'meta/recipes-devtools/automake/automake_1.15.bb')
-rw-r--r-- | meta/recipes-devtools/automake/automake_1.15.bb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/meta/recipes-devtools/automake/automake_1.15.bb b/meta/recipes-devtools/automake/automake_1.15.bb index d5b6e9eba4..c33dc22679 100644 --- a/meta/recipes-devtools/automake/automake_1.15.bb +++ b/meta/recipes-devtools/automake/automake_1.15.bb | |||
@@ -25,18 +25,10 @@ SRC_URI += " file://python-libdir.patch \ | |||
25 | SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3" | 25 | SRC_URI[md5sum] = "716946a105ca228ab545fc37a70df3a3" |
26 | SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" | 26 | SRC_URI[sha256sum] = "7946e945a96e28152ba5a6beb0625ca715c6e32ac55f2e353ef54def0c8ed924" |
27 | 27 | ||
28 | CACHED_CONFIGUREVARS += "ac_cv_path_PERL=${USRBINPATH}/perl" | ||
29 | |||
28 | do_install_append () { | 30 | do_install_append () { |
29 | install -d ${D}${datadir} | 31 | install -d ${D}${datadir} |
30 | |||
31 | # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location | ||
32 | # for target as /usr/bin/perl, so fix it to /usr/bin/perl. | ||
33 | for i in aclocal aclocal-${NAMEVER} automake automake-${NAMEVER}; do | ||
34 | if [ -f ${D}${bindir}/$i ]; then | ||
35 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/perl,' \ | ||
36 | -e 's,exec .*/bin/perl \(.*\) exec .*/bin/perl \(.*\),exec ${USRBINPATH}/perl \1 exec ${USRBINPATH}/perl \2,' \ | ||
37 | ${D}${bindir}/$i | ||
38 | fi | ||
39 | done | ||
40 | } | 32 | } |
41 | 33 | ||
42 | BBCLASSEXTEND = "native nativesdk" | 34 | BBCLASSEXTEND = "native nativesdk" |