summaryrefslogtreecommitdiff
path: root/i486-stage4/python
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-30 21:32:26 +0200
commitdb55b0cb8ec387d6eca65eaebbd428fdc12510ba (patch)
treebfb04428c861d3bd8adf06296bb48fd7c2ccd248 /i486-stage4/python
parentf0626a194c605f3b4f26c0897c6a41af128628ea (diff)
downloadbootstrap32-db55b0cb8ec387d6eca65eaebbd428fdc12510ba.tar.xz
building up to gcc in stage4
Diffstat (limited to 'i486-stage4/python')
-rw-r--r--i486-stage4/python/DESCR15
1 files changed, 15 insertions, 0 deletions
diff --git a/i486-stage4/python/DESCR b/i486-stage4/python/DESCR
new file mode 100644
index 0000000..34cd9f1
--- /dev/null
+++ b/i486-stage4/python/DESCR
@@ -0,0 +1,15 @@
+# remove dependency on most things, we want only a simple interpreter
+# a little bit smarter than a shell for building and code generation
+sed -i "/makedepends=/s/'tk'//" PKGBUILD
+sed -i "/makedepends=/s/'bluez-libs'//" PKGBUILD
+sed -i "/makedepends=/s/'llvm'//" PKGBUILD
+
+# do not start X servers just for building software!
+sed -i "/makedepends=/s/'xorg-server-xvfb'//" PKGBUILD
+sed -i "s/\(export servernum=99\)/#\1/" PKGBUILD
+sed -i "s/\(while\)/#\1/" PKGBUILD
+sed -i 's@LC_CTYPE=en_US.UTF-8 xvfb-run -a -n "$servernum" make EXTRA_CFLAGS="$CFLAGS"@LC_CTYPE=en_US.UTF-8 make EXTRA_CFLAGS="$CFLAGS"@g' PKGBUILD
+
+# skip check(), regression testing was done before
+SKIP_CHECK=1
+