diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-09-27 00:16:18 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-05 02:13:08 +0200 |
commit | c07f91474de4088c4eccd45ccc6883a515439d69 (patch) | |
tree | 19bdb4797935e826f638053ea8d4250bd453dd0a /Ports/SDL2_gfx/package.sh | |
parent | e507cfcdb0cc3be9e8e3304952c81d4410e6b610 (diff) | |
download | serenity-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/SDL2_gfx/package.sh')
-rwxr-xr-x | Ports/SDL2_gfx/package.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/SDL2_gfx/package.sh b/Ports/SDL2_gfx/package.sh index e76ff1582e..f9abb950ea 100755 --- a/Ports/SDL2_gfx/package.sh +++ b/Ports/SDL2_gfx/package.sh @@ -4,11 +4,11 @@ port=SDL2_gfx version=1.0.4 files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262" auth_type=sha256 -depends="SDL2" +depends=("SDL2") useconfigure=true -configopts="--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local" +configopts=("--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local") install() { - run make install DESTDIR=${SERENITY_INSTALL_ROOT} $installopts + run make install DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" run ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.so -Wl,-soname,libSDL2_gfx.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libSDL2_gfx.a -Wl,--no-whole-archive } |