summaryrefslogtreecommitdiff
path: root/Ports/libicu
diff options
context:
space:
mode:
authorTim Schumacher <timschumi@gmx.de>2021-09-27 00:16:18 +0200
committerAndreas Kling <kling@serenityos.org>2021-10-05 02:13:08 +0200
commitc07f91474de4088c4eccd45ccc6883a515439d69 (patch)
tree19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/libicu
parente507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff)
downloadserenity-c07f91474de4088c4eccd45ccc6883a515439d69.zip
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.
Diffstat (limited to 'Ports/libicu')
-rwxr-xr-xPorts/libicu/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/libicu/package.sh b/Ports/libicu/package.sh
index 8a85bc786b..d27455de44 100755
--- a/Ports/libicu/package.sh
+++ b/Ports/libicu/package.sh
@@ -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"