1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:17:44 +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:
Tim Schumacher 2021-09-27 00:16:18 +02:00 committed by Andreas Kling
parent e507cfcdb0
commit c07f91474d
149 changed files with 352 additions and 345 deletions

View file

@ -3,16 +3,16 @@ port=libicu
version=69.1
useconfigure=true
workdir=icu/source
configopts=--with-cross-build=$(pwd)/${workdir}/../host-build
configopts=("--with-cross-build=$(pwd)/${workdir}/../host-build")
files="https://github.com/unicode-org/icu/releases/download/release-${version//./-}/icu4c-${version//./_}-src.tgz icu4c-${version//./_}-src.tgz 4cba7b7acd1d3c42c44bb0c14be6637098c7faf2b330ce876bc5f3b915d09745"
auth_type=sha256
configure() {
host_env
run mkdir -p ../host-build
run sh -c "cd ../host-build && ../source/configure && make $makeopts"
run sh -c "cd ../host-build && ../source/configure && make ${makeopts[@]}"
target_env
run ./configure --host="${SERENITY_ARCH}-pc-serenity" $configopts
run ./configure --host="${SERENITY_ARCH}-pc-serenity" "${configopts[@]}"
}
export CFLAGS="-DU_HAVE_NL_LANGINFO_CODESET=0"