diff options
author | Brendan Coles <bcoles@gmail.com> | 2021-10-25 08:14:27 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-25 13:01:40 +0200 |
commit | 518b8fb29255a3ebdeb361ce3df6519b24c44103 (patch) | |
tree | ff2f17001232e57d2495c3e37ffc8bbfdf1dbae7 /Ports/bc/package.sh | |
parent | d40c36a16e86f38ce27dac9777d0fd4843184d8d (diff) | |
download | serenity-518b8fb29255a3ebdeb361ce3df6519b24c44103.zip |
Ports: Bump bc from version 2.5.1 to 5.1.1
Diffstat (limited to 'Ports/bc/package.sh')
-rwxr-xr-x | Ports/bc/package.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Ports/bc/package.sh b/Ports/bc/package.sh index b1809718a5..4c7f5c8fe2 100755 --- a/Ports/bc/package.sh +++ b/Ports/bc/package.sh @@ -1,6 +1,6 @@ #!/usr/bin/env -S bash ../.port_include.sh port=bc -version=2.5.1 +version=5.1.1 files="https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz bc-${version}.tar.xz https://github.com/gavinhoward/bc/releases/download/${version}/bc-${version}.tar.xz.sig bc-${version}.tar.xz.sig" useconfigure=true @@ -8,9 +8,8 @@ configscript=configure.sh auth_type="sig" auth_import_key="E2A30324A4465A4D5882692EC08038BDF280D33E" auth_opts=("bc-${version}.tar.xz.sig") +configopts=("--prefix=/usr/local" "--disable-nls" "--disable-history") configure() { - # NLS needs many things, none of which we support. - # History needs FIONREAD ioctl, which we don't support yet. - run env HOSTCC=gcc ./"$configscript" --disable-nls --disable-history + run env HOSTCC=gcc ./"$configscript" "${configopts[@]}" } |