diff options
-rw-r--r-- | meta/recipes-devtools/gnu-config/gnu-config_20111111.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gnu-config/gnu-config_git.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb b/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb index 0c652c27b5..d4588daa81 100644 --- a/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb +++ b/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb | |||
@@ -28,7 +28,7 @@ do_install () { | |||
28 | sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ | 28 | sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ |
29 | -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize | 29 | -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize |
30 | # In the native case we want the system perl as perl-native can't have built yet | 30 | # In the native case we want the system perl as perl-native can't have built yet |
31 | if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then | 31 | if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then |
32 | sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize | 32 | sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize |
33 | fi | 33 | fi |
34 | chmod 755 ${D}${bindir}/gnu-configize | 34 | chmod 755 ${D}${bindir}/gnu-configize |
diff --git a/meta/recipes-devtools/gnu-config/gnu-config_git.bb b/meta/recipes-devtools/gnu-config/gnu-config_git.bb index 0fdee66ba4..4de479915b 100644 --- a/meta/recipes-devtools/gnu-config/gnu-config_git.bb +++ b/meta/recipes-devtools/gnu-config/gnu-config_git.bb | |||
@@ -29,7 +29,7 @@ do_install () { | |||
29 | sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ | 29 | sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ |
30 | -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize | 30 | -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize |
31 | # In the native case we want the system perl as perl-native can't have built yet | 31 | # In the native case we want the system perl as perl-native can't have built yet |
32 | if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then | 32 | if [ "${PN}" != "gnu-config-native" -a "${PN}" != "gnu-config-nativesdk" ]; then |
33 | sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize | 33 | sed -i -e 's,/usr/bin/env,${bindir}/env,g' ${D}${bindir}/gnu-configize |
34 | fi | 34 | fi |
35 | chmod 755 ${D}${bindir}/gnu-configize | 35 | chmod 755 ${D}${bindir}/gnu-configize |