From 2b9be04823fcbd0455882a39d946519903bc3dec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 3 Apr 2020 15:44:35 +0700 Subject: [PATCH] bsd-games: fix musl build --- srcpkgs/bsd-games/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/bsd-games/template b/srcpkgs/bsd-games/template index 3b8e07feda..48d25814c0 100644 --- a/srcpkgs/bsd-games/template +++ b/srcpkgs/bsd-games/template @@ -38,6 +38,10 @@ mutable_files="/var/games/bsdgames/atc_score patch_args="-Np1" nocross=yes +if [ "$XBPS_TARGET_LIBC" = musl ]; then + makedepends+=" musl-legacy-compat" +fi + post_extract() { vsed -i "s/FISH/GO-FISH/g; s/\.Nm fish/\.Nm go-fish/g" fish/fish.6 vsed -i "s/tenths/tenth/g" tests/number.-0.1