summaryrefslogtreecommitdiff
path: root/i486-stage1/fakeroot/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/fakeroot/DESCR')
-rw-r--r--i486-stage1/fakeroot/DESCR11
1 files changed, 11 insertions, 0 deletions
diff --git a/i486-stage1/fakeroot/DESCR b/i486-stage1/fakeroot/DESCR
new file mode 100644
index 0000000..8557ab8
--- /dev/null
+++ b/i486-stage1/fakeroot/DESCR
@@ -0,0 +1,11 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# disable makedepends and take out po4a
+sed -i "/makedepends=/s/po4a//" PKGBUILD
+sed -i 's@\(cd doc\)@#\1@g' PKGBUILD
+sed -i 's@\(po4a\)@#\1@g' PKGBUILD
+
+# we have no ld.so.conf, so we can ignore this:
+#/tmp/alpm_va2bmk/.INSTALL: line 2: usr/bin/ldconfig: No such file or directory
+#error: command failed to execute correctly