summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-27 21:13:23 +0000
committerChris Larson <clarson@kergoth.com>2003-10-27 21:13:23 +0000
commit7ea921be10916d3eb33fffff0cbc39e8a41d3474 (patch)
tree7bd6ddc49f7fc74797ba2d85138cb84cba6411b0
parentde4fea740c37b1797e54f2292ee623dc89c7d841 (diff)
Add program_prefix patch, so autoconf now only sets program prefix to target_alias 1) when target_alias is set, and 2) when host_alias != target_alias.
BKrev: 3f9d8a73_vHaBCr4GKaRloTqFcSNHA
-rw-r--r--autoconf/autoconf-2.57/program_prefix.patch0
-rw-r--r--autoconf/autoconf-native_2.57.oe1
-rw-r--r--autoconf/autoconf_2.57.oe5
3 files changed, 6 insertions, 0 deletions
diff --git a/autoconf/autoconf-2.57/program_prefix.patch b/autoconf/autoconf-2.57/program_prefix.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/autoconf/autoconf-2.57/program_prefix.patch
diff --git a/autoconf/autoconf-native_2.57.oe b/autoconf/autoconf-native_2.57.oe
index 76dd7a8a99..a2b655bb04 100644
--- a/autoconf/autoconf-native_2.57.oe
+++ b/autoconf/autoconf-native_2.57.oe
@@ -1,4 +1,5 @@
include autoconf_${PV}.oe
S = ${WORKDIR}/autoconf-${PV}
+FILESDIR = ${@os.path.dirname(oe.data.getVar('FILE',d,1))}/autoconf-${PV}
inherit native
diff --git a/autoconf/autoconf_2.57.oe b/autoconf/autoconf_2.57.oe
index e69de29bb2..ce998e2e15 100644
--- a/autoconf/autoconf_2.57.oe
+++ b/autoconf/autoconf_2.57.oe
@@ -0,0 +1,5 @@
+SRC_URI := ${GNU_MIRROR}/autoconf/autoconf-2.57.tar.bz2 \
+ file://${FILESDIR}/program_prefix.patch;patch=1
+S := ${WORKDIR}/${P}
+
+inherit autotools