Gentoo Archives: gentoo-alt

From: Michael Yang <yangofzeal@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] add m4 and bison to bootstrap-prefix.sh
Date: Tue, 30 Jun 2009 18:15:35
Message-Id: 2125c95f0906301115ta00fa9bic889caaa96f89578@mail.gmail.com
1 Hi guys,
2
3 FYI Ubuntu 9.0.4 needs bison (yacc) which needs m4 to bootstrap bash.
4 Could you add them to the bootstrap-prefix.sh file?
5
6 --- bootstrap-prefix.sh.r47898 2009-06-30 14:11:00.000000000 -0400
7 +++ bootstrap-prefix.sh 2009-06-30 14:11:00.000000000 -0400
8 @@ -519,6 +519,14 @@
9 bootstrap_gnu findutils 4.2.33
10 }
11
12 +bootstrap_bison() {
13 + bootstrap_gnu bison 2.3 "${GNU_URL}/bison/bison-2.3.tar.gz"
14 +}
15 +
16 +bootstrap_m4() {
17 + bootstrap_gnu m4 1.4.13 "${GNU_URL}/m4/m4-1.4.13.tar.gz"
18 +}
19 +
20 bootstrap_findutils() {
21 # distfile with included patches for IRIX and Interix
22 bootstrap_gnu findutils 4.4.0 \
23 @@ -847,6 +855,7 @@
24 einfo "prefix: ${ROOT}"
25
26 TODO=${2}
27 +einfo "TODO: ${TODO}"
28 if [[ $(type -t bootstrap_${TODO}) != "function" ]];
29 then
30 eerror "bootstrap target ${TODO} unknown"