Commit Graph

4 Commits

Author SHA1 Message Date
agnostic-apollo f743005751 fix(build-package.sh): Localize and do not use variables defined in `termux_step_host_build` in other functions
The `termux_step_host_build` runs only the first time package is built for its specific version, based on `TERMUX_HOSTBUILD_MARKER` in `termux_step_handle_hostbuild`. If `build-package.sh` is run twice, then second time, variables defined in `termux_step_host_build` won't be set in later functions since its not called, like `_PREFIX_FOR_BUILD` in `aapt/build.sh` would be unset inside `termux_step_pre_configure`, resulting in unbound variable error.

Even `termux_step_pre_configure` may not always run, depending on `$TERMUX_CONTINUE_BUILD`, so build scripts should not share variables between functions and redefine them again where necessary.

Also `_PREFIX_FOR_BUILD` should use a standard path `$TERMUX_PKG_HOSTBUILD_DIR/prefix` and not others like `$TERMUX_PKG_HOSTBUILD_DIR/_prefix`. Some build scripts use `$TERMUX_PKG_HOSTBUILD_DIR/src` for other stuff, so best use `prefix` sub directory.
2022-07-28 15:27:20 +05:00
Tee KOBAYASHI dfeb803dd7 maxima: Update to 5.46.0 2022-04-20 19:17:20 +09:00
Tee KOBAYASHI 3b6d0dfe81
maxima: Adapt for cross build 2021-12-25 21:21:47 +01:00
Marlin Sööse d4aca773b9
new package: maxima 2021-12-25 21:21:43 +01:00