mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -2,14 +2,14 @@
|
|||
port=bash
|
||||
version=5.1.8
|
||||
useconfigure=true
|
||||
configopts="--disable-nls --without-bash-malloc"
|
||||
configopts=("--disable-nls" "--without-bash-malloc")
|
||||
files="https://ftpmirror.gnu.org/gnu/bash/bash-${version}.tar.gz bash-${version}.tar.gz 0cfb5c9bb1a29f800a97bd242d19511c997a1013815b805e0fdd32214113d6be"
|
||||
auth_type="sha256"
|
||||
|
||||
build() {
|
||||
run_replace_in_file "s/define GETCWD_BROKEN 1/undef GETCWD_BROKEN/" config.h
|
||||
run_replace_in_file "s/define CAN_REDEFINE_GETENV 1/undef CAN_REDEFINE_GETENV/" config.h
|
||||
run make $makeopts
|
||||
run make "${makeopts[@]}"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue