summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-20 14:17:53 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-20 14:17:53 +0100
commit9cf219f2cd9b4f048951fbed16d246e3166f7b67 (patch)
tree664c056b35bc464971462471e710943f8c216fd9
parent6aa09fb6ada60817f416f47fac5264e67545f25a (diff)
now at diffutils
-rwxr-xr-xsrc/stage0.sh1
-rw-r--r--src/stage1/patches/flex.patch11
-rw-r--r--src/stage1/patches/libtool.patch11
-rw-r--r--src/stage1/patches/nano.patch11
4 files changed, 34 insertions, 0 deletions
diff --git a/src/stage0.sh b/src/stage0.sh
index b4eae1e..8ae88e9 100755
--- a/src/stage0.sh
+++ b/src/stage0.sh
@@ -35,6 +35,7 @@ check_bin repo-add
check_bin sudo
check_bin tput
check_bin wget
+check_bin help2man # for building libtool
[ "x$_arch" != "x$(uname -m)" ] && check_bin $_target-gcc
[ "x$_arch" != "x$(uname -m)" ] && check_bin qemu-$_arch-static
diff --git a/src/stage1/patches/flex.patch b/src/stage1/patches/flex.patch
new file mode 100644
index 0000000..63aab71
--- /dev/null
+++ b/src/stage1/patches/flex.patch
@@ -0,0 +1,11 @@
+--- a/PKGBUILD 2018-02-20 13:29:54.681082977 +0100
++++ b/PKGBUILD 2018-02-20 14:13:03.673184096 +0100
+@@ -17,7 +17,7 @@ md5sums=('2882e3179748cc9f9c23ec593d6adc
+
+ build() {
+ cd "$pkgname-$pkgver"
+- ./configure --prefix=/usr
++ ./configure --host=@TARGET@ --build=@BUILDHOST@ --disable-bootstrap --prefix=/usr
+ make
+ }
+
diff --git a/src/stage1/patches/libtool.patch b/src/stage1/patches/libtool.patch
new file mode 100644
index 0000000..dd3beff
--- /dev/null
+++ b/src/stage1/patches/libtool.patch
@@ -0,0 +1,11 @@
+--- a/PKGBUILD 2018-02-20 13:17:21.841549506 +0100
++++ b/PKGBUILD 2018-02-20 13:18:12.577595435 +0100
+@@ -36,7 +36,7 @@ prepare() {
+
+ build() {
+ cd libtool
+- ./configure --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
++ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr lt_cv_sys_lib_dlsearch_path_spec="/usr/lib /usr/lib32"
+ make
+ }
+
diff --git a/src/stage1/patches/nano.patch b/src/stage1/patches/nano.patch
new file mode 100644
index 0000000..843979e
--- /dev/null
+++ b/src/stage1/patches/nano.patch
@@ -0,0 +1,11 @@
+--- a/PKGBUILD 2018-02-20 13:28:10.998349715 +0100
++++ b/PKGBUILD 2018-02-20 13:28:37.285531084 +0100
+@@ -21,7 +21,7 @@ validpgpkeys=('8DA6FE7BFA7A418AB3CB2354B
+
+ build() {
+ cd ${pkgname}-${pkgver}
+- ./configure --prefix=/usr \
++ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-color \
+ --enable-nanorc \