mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
maxima: enable sbcl option only on supported archs
This commit is contained in:
parent
9ec6b061e5
commit
8cd3cd6576
2 changed files with 11 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'maxima'
|
# Template file for 'maxima'
|
||||||
pkgname=maxima
|
pkgname=maxima
|
||||||
version=5.45.1
|
version=5.45.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl sbcl-exec) $(vopt_enable ecl)"
|
configure_args="$(vopt_enable clisp) $(vopt_enable sbcl sbcl-exec) $(vopt_enable ecl)"
|
||||||
hostmakedepends="python3 perl emacs texinfo patchelf"
|
hostmakedepends="python3 perl emacs texinfo patchelf"
|
||||||
|
@ -28,7 +28,15 @@ build_options="clisp sbcl ecl"
|
||||||
desc_option_clisp="Build with CLISP"
|
desc_option_clisp="Build with CLISP"
|
||||||
desc_option_sbcl="Build with SBCL"
|
desc_option_sbcl="Build with SBCL"
|
||||||
desc_option_ecl="Build with ECL"
|
desc_option_ecl="Build with ECL"
|
||||||
build_options_default="sbcl ecl"
|
build_options_default="ecl"
|
||||||
|
|
||||||
|
# sbcl is only available for these architectures
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
i686|x86_64*|armv7l|aarch64|ppc64le*)
|
||||||
|
build_options_default+=" sbcl"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
vopt_conflict clisp sbcl
|
vopt_conflict clisp sbcl
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
pkgname=sbcl
|
pkgname=sbcl
|
||||||
version=2.2.5
|
version=2.2.5
|
||||||
revision=1
|
revision=1
|
||||||
|
# make sure the sbcl option in maxima is enabled for the same archs
|
||||||
archs="i686 x86_64* armv7l aarch64 ppc64le*"
|
archs="i686 x86_64* armv7l aarch64 ppc64le*"
|
||||||
hostmakedepends="iana-etc texinfo"
|
hostmakedepends="iana-etc texinfo"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue