summaryrefslogtreecommitdiff
path: root/i486-stage1/util-linux/DESCR
diff options
context:
space:
mode:
Diffstat (limited to 'i486-stage1/util-linux/DESCR')
-rw-r--r--i486-stage1/util-linux/DESCR7
1 files changed, 5 insertions, 2 deletions
diff --git a/i486-stage1/util-linux/DESCR b/i486-stage1/util-linux/DESCR
index 38e4b24..3c6e73c 100644
--- a/i486-stage1/util-linux/DESCR
+++ b/i486-stage1/util-linux/DESCR
@@ -8,8 +8,11 @@ ADDITIONAL_INSTALL_PACKAGE=libutil-linux
sed -i "s@./configure@./configure --host=$TARGET_ARCH --build=$BUILD_ARCH@" PKGBUILD
# disable some dependencies on systemd, python, libcap-ng
-sed -i 's@makedepends\(.*\)@#makedepends\1@g' PKGBUILD
-sed -i 's@ \+depends\(.*\)@#depends\1@g' PKGBUILD
+sed -i "/makedepends=/s/'systemd'//" PKGBUILD
+sed -i "/makedepends=/s/'python'//" PKGBUILD
+sed -i "/makedepends=/s/'libcap-ng'//" PKGBUILD
+sed -i "/depends=/s/'libsystemd'//" PKGBUILD
+sed -i "/depends=/s/'libcap-ng'//" PKGBUILD
# no python
sed -i 's@--with-python=3@--without-python \\@g' PKGBUILD