diff --git a/srcpkgs/hfsprogs/template b/srcpkgs/hfsprogs/template index c36fd2bd8bc..7a74ae3bd12 100644 --- a/srcpkgs/hfsprogs/template +++ b/srcpkgs/hfsprogs/template @@ -14,6 +14,10 @@ homepage="http://www.opensource.apple.com/" distfiles="http://cavan.codon.org.uk/~mjg59/diskdev_cmds/diskdev_cmds-${version}.tar.gz" checksum=b01b203a97f9a3bf36a027c13ddfc59292730552e62722d690d33bd5c24f5497 +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + pre_build() { sed -i 's/[F|f]sck_hfs/fsck.hfsplus/g' fsck_hfs.tproj/fsck_hfs.8 sed -i 's/[N|n]ewfs_hfs/mkfs.hfsplus/g' newfs_hfs.tproj/newfs_hfs.8