Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/i486-stage1/sed
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/sed')
-rw-r--r--i486-stage1/sed/DESCR5
1 files changed, 5 insertions, 0 deletions
diff --git a/i486-stage1/sed/DESCR b/i486-stage1/sed/DESCR
new file mode 100644
index 0000000..e0c5138
--- /dev/null
+++ b/i486-stage1/sed/DESCR
@@ -0,0 +1,5 @@
+# prepare configure for cross-compilation
+sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
+
+# gettext: take the one from the host
+sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD