summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-06 19:31:27 +0000
committerChris Larson <clarson@kergoth.com>2003-10-06 19:31:27 +0000
commite95abddeaab7fa44ef64f3caa9a7eabea8c147df (patch)
tree1ca45f1a32c38d19d36c601d99685ac901a8fb1a
parent80eaa0fd74c39e8c16585b9a007fb7fb147461da (diff)
Add libc to depends for bison & flex.
BKrev: 3f81c30fIqLqQHKD_ay_MrwUGnYESg
-rw-r--r--bison/bison-1.875.oe12
-rw-r--r--flex/flex-2.5.31.oe7
2 files changed, 19 insertions, 0 deletions
diff --git a/bison/bison-1.875.oe b/bison/bison-1.875.oe
index e69de29bb2..345be212e7 100644
--- a/bison/bison-1.875.oe
+++ b/bison/bison-1.875.oe
@@ -0,0 +1,12 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${GNU_MIRROR}/bison/bison-1.875.tar.bz2
+
+inherit autotools
+
+do_configure_prepend () {
+ if [ ! -e acinclude.m4 ]; then
+ cat m4/*.m4 >> acinclude.m4
+ fi
+}
diff --git a/flex/flex-2.5.31.oe b/flex/flex-2.5.31.oe
index e69de29bb2..4c7afd6f1c 100644
--- a/flex/flex-2.5.31.oe
+++ b/flex/flex-2.5.31.oe
@@ -0,0 +1,7 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/lex/flex-2.5.31.tar.bz2 \
+ file://${FILESDIR}/include.patch;patch=1
+
+inherit autotools