bsd-games: fix musl build

This commit is contained in:
Đoàn Trần Công Danh 2020-04-03 15:44:35 +07:00 committed by Juan RP
parent cb9ea6e2e0
commit 2b9be04823

View file

@ -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