chibi-scheme: fix cross
This commit is contained in:
parent
ba3577937d
commit
bfbc086f23
1 changed files with 7 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
pkgname=chibi-scheme
|
||||
version=0.10
|
||||
revision=1
|
||||
build_helper="qemu"
|
||||
build_style=gnu-makefile
|
||||
make_build_args="PREFIX=/usr"
|
||||
short_desc="Small Footprint R7RS Scheme for use as a C Extension Language"
|
||||
|
@ -15,7 +16,12 @@ alternatives="
|
|||
scheme:scheme.1:/usr/share/man/man1/chibi-scheme.1
|
||||
"
|
||||
disable_parallel_build=yes
|
||||
nocross=yes
|
||||
|
||||
pre_patch() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
vsed -e "s/CHIBI_MODULE_PATH=lib \.\/chibi-scheme/CHIBI_MODULE_PATH=lib qemu-${XBPS_TARGET_QEMU_MACHINE}-static .\/chibi-scheme/" -i Makefile
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense COPYING
|
||||
|
|
Loading…
Reference in a new issue