1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 12:37:44 +00:00

Ports: Allow selecting multiple config_{sub,guess}_paths

Some ports may have more than one `config.sub` that is in use (vendored
dependencies, etc.). Instead of fiddling about with space-delimited
strings, let's just make that setting into an array right away.
This commit is contained in:
Tim Schumacher 2022-05-25 12:51:13 +02:00 committed by Linus Groh
parent ff90647958
commit f81e47eea8
38 changed files with 49 additions and 45 deletions

View file

@ -3,11 +3,11 @@ port=freetype
version=2.12.0
useconfigure=true
use_fresh_config_sub=true
config_sub_path=builds/unix/config.sub
config_sub_paths=("builds/unix/config.sub")
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz 7940a46eeb0255baaa87c553d72778c4f8daa2b8888c8e2a05766a2a8686740c"
auth_type=sha256
configopts=("--with-brotli=no" "--with-bzip2=no" "--with-zlib=no" "--with-harfbuzz=no" "--with-png=no")
config_sub_path="builds/unix/config.sub"
config_sub_paths=("builds/unix/config.sub")
install() {
run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install