From 3662027f4deb0ec872b61523fddaaf789d265d92 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 14 Jun 2015 16:13:32 +0200 Subject: [PATCH] busybox: fix build on musl. --- srcpkgs/busybox/template | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srcpkgs/busybox/template b/srcpkgs/busybox/template index 6c9c9ffd6c9..ede6a53309e 100644 --- a/srcpkgs/busybox/template +++ b/srcpkgs/busybox/template @@ -29,6 +29,12 @@ pre_build() { make -C $t CFLAGS="$(_cflags $t)" KBUILD_SRC=${wrksrc}/src \ -f ${wrksrc}/src/Makefile defconfig cp -f ${FILESDIR}/${t}.dotconfig ${t}/.config + + case "$XBPS_TARGET_MACHINE" in + *-musl) sed -i -e /CONFIG_FEATURE_VI_REGEX_SEARCH/s/y/n/ \ + -e /CONFIG_FEATURE_MOUNT_NFS/s/y/n/ \ + ${t}/.config;; + esac if [ "$CROSS_BUILD" ]; then sed -e \