summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-09 15:27:59 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:28 +0000
commite78278875615e81aa39bb42207d9717270a614b3 (patch)
tree571c8fd32b36c81369720b4087852cdf81d29a05 /meta
parentc6f860596cb461a1c144775b5a69e6d50974b531 (diff)
downloadpoky-e78278875615e81aa39bb42207d9717270a614b3.tar.gz
gnu-config: Don't run sed substituation for perl location in native case
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gnu-config/gnu-config_20050701.bb10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta/packages/gnu-config/gnu-config_20050701.bb b/meta/packages/gnu-config/gnu-config_20050701.bb
index 69d026f35e..d93d57d3f1 100644
--- a/meta/packages/gnu-config/gnu-config_20050701.bb
+++ b/meta/packages/gnu-config/gnu-config_20050701.bb
@@ -6,7 +6,7 @@ INHIBIT_DEFAULT_DEPS = "1"
6 6
7FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}" 7FIXEDSRCDATE = "${@bb.data.getVar('FILE', d, 1).split('_')[-1].split('.')[0]}"
8PV = "0.1+cvs${FIXEDSRCDATE}" 8PV = "0.1+cvs${FIXEDSRCDATE}"
9PR = "r5" 9PR = "r6"
10 10
11SRC_URI = "cvs://anonymous@cvs.sv.gnu.org/cvsroot/config;module=config;method=pserver;date=${FIXEDSRCDATE} \ 11SRC_URI = "cvs://anonymous@cvs.sv.gnu.org/cvsroot/config;module=config;method=pserver;date=${FIXEDSRCDATE} \
12 file://config-guess-uclibc.patch;patch=1 \ 12 file://config-guess-uclibc.patch;patch=1 \
@@ -23,8 +23,12 @@ do_install () {
23 ${D}${bindir} 23 ${D}${bindir}
24 cat ${WORKDIR}/gnu-configize.in | \ 24 cat ${WORKDIR}/gnu-configize.in | \
25 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \ 25 sed -e 's,@gnu-configdir@,${datadir}/gnu-config,g' \
26 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' \ 26 -e 's,@autom4te_perllibdir@,${datadir}/autoconf,g' > ${D}${bindir}/gnu-configize
27 -e 's,/usr/bin/perl,${bindir}/perl,g' > ${D}${bindir}/gnu-configize 27 # In the native case we want the system perl as perl-native can't have built yet
28 if [ "${BUILD_ARCH}" != "${TARGET_ARCH}" ]; then
29 cat ${WORKDIR}/gnu-configize.in | \
30 -e 's,/usr/bin/perl,${bindir}/perl,g' > ${D}${bindir}/gnu-configize
31 fi
28 chmod 755 ${D}${bindir}/gnu-configize 32 chmod 755 ${D}${bindir}/gnu-configize
29 install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/ 33 install -m 0644 config.guess config.sub ${D}${datadir}/gnu-config/
30} 34}