stella: fix musl
This commit is contained in:
parent
9b15e04d58
commit
86dc9cf63a
1 changed files with 10 additions and 0 deletions
|
@ -11,6 +11,16 @@ homepage="https://stella-emu.github.io/"
|
|||
distfiles="https://github.com/stella-emu/stella/releases/download/${version}/stella-${version}-src.tar.xz"
|
||||
checksum=77b210d51af7e4be88c14014d507e48367bcdff6b8ba513793f035f3e30a21bd
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl)
|
||||
sed -i 's/::PAGE_SIZE/::_PAGE_SIZE/g' $(grep -r '::PAGE_SIZE' -l)
|
||||
sed -i 's/PAGE_SIZE/_PAGE_SIZE/g' src/emucore/MT24LC256.[ch]xx \
|
||||
src/emucore/System.hxx
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
./configure --prefix=/usr
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue