summaryrefslogtreecommitdiff
path: root/i486-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1')
-rw-r--r--i486-stage1/attr/DESCR2
-rw-r--r--i486-stage1/uinit/DESCR7
2 files changed, 8 insertions, 1 deletions
diff --git a/i486-stage1/attr/DESCR b/i486-stage1/attr/DESCR
index dfe2f65..98ab985 100644
--- a/i486-stage1/attr/DESCR
+++ b/i486-stage1/attr/DESCR
@@ -4,5 +4,5 @@ SYSROOT_INSTALL=1
# prepare configure for cross-compilation
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@g" PKGBUILD
-# no gettext
+# circular reference in getext (needed by attr, which needs also gettext)
sed -i 's@^makedepends\(.*\)@#makedepends\1@g' PKGBUILD
diff --git a/i486-stage1/uinit/DESCR b/i486-stage1/uinit/DESCR
index 34a987d..50ccc45 100644
--- a/i486-stage1/uinit/DESCR
+++ b/i486-stage1/uinit/DESCR
@@ -1,2 +1,9 @@
# uinit as temporary systemd replacement for PID 1, lives in the AUR
NEEDS_YAOURT=1
+
+# prepare configure for cross-compilation
+sed -i "s/make /make CC=$TARGET_ARCH-gcc /g" PKGBUILD
+
+# remove git dependency
+sed -i "/makedepends=/s/'git'//" PKGBUILD
+