summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-28 07:11:51 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-28 07:11:51 +0000
commitfd6cc8b1b2c2cd591272e48f28faa8f8e02a1e06 (patch)
tree0b74239e7278641b5205d63475f81fba601d97c8
parent31d9d6d29627fbbcc26b3b3a2fcf51e9c797da83 (diff)
downloadbuildroot-novena-fd6cc8b1b2c2cd591272e48f28faa8f8e02a1e06.tar.gz
buildroot-novena-fd6cc8b1b2c2cd591272e48f28faa8f8e02a1e06.zip
fix building when CPP is set in build env
-rw-r--r--package/ed/ed-configure-CPP.patch14
-rw-r--r--package/ed/ed.mk2
2 files changed, 16 insertions, 0 deletions
diff --git a/package/ed/ed-configure-CPP.patch b/package/ed/ed-configure-CPP.patch
new file mode 100644
index 000000000..fb6f4897d
--- /dev/null
+++ b/package/ed/ed-configure-CPP.patch
@@ -0,0 +1,14 @@
+this old configure script has broken CPP logic is CPP is set in the
+host environment
+
+--- ed-0.2/configure
++++ ed-0.2/configure
+@@ -731,6 +731,8 @@
+ rm -f conftest*
+ ac_cv_prog_CPP="$CPP"
+ fi
++else
++ ac_cv_prog_CPP="$CPP"
+ fi
+ CPP="$ac_cv_prog_CPP"
+ echo "$ac_t""$CPP" 1>&4
diff --git a/package/ed/ed.mk b/package/ed/ed.mk
index 4b2a9922b..f9ed1d8a7 100644
--- a/package/ed/ed.mk
+++ b/package/ed/ed.mk
@@ -19,9 +19,11 @@ $(DL_DIR)/$(ED_PATCH):
ed-source: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
+ed-unpacked: $(ED_DIR)/.unpacked
$(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH)
$(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(ED_DIR) $(DL_DIR) $(ED_PATCH)
+ toolchain/patch-kernel.sh $(ED_DIR) package/ed/ ed-*.patch
touch $(ED_DIR)/.unpacked
$(ED_DIR)/.configured: $(ED_DIR)/.unpacked