diff options
author | Tim Schumacher <timschumi@gmx.de> | 2021-10-11 02:29:49 +0200 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2021-10-10 19:11:02 -0700 |
commit | 39087533475cd82dfe9228d144a8c57d1912b771 (patch) | |
tree | a9b8409e2b136dcdd554d3ddec4215392a3ba16f /Ports/libmodplug/package.sh | |
parent | 262b7189121e6559284bbd274a99fad16842096a (diff) | |
download | serenity-39087533475cd82dfe9228d144a8c57d1912b771.zip |
Ports: Fix issues with the libmodplug and SDL_sound ports
- Lock SDL_sound to specific commit
- Convert properties to arrays where required
- Fix depends being called "deps"
Diffstat (limited to 'Ports/libmodplug/package.sh')
-rwxr-xr-x | Ports/libmodplug/package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ports/libmodplug/package.sh b/Ports/libmodplug/package.sh index ad7c4b5fdb..c0161e4f6f 100755 --- a/Ports/libmodplug/package.sh +++ b/Ports/libmodplug/package.sh @@ -2,13 +2,13 @@ port=libmodplug version=0.8.8.5 useconfigure=true -configopts="ac_cv_c_bigendian=no" +configopts=("ac_cv_c_bigendian=no") files="https://download.sourceforge.net/modplug-xmms/libmodplug-${version}.tar.gz libmodplug-${version}.tar.gz 77462d12ee99476c8645cb5511363e3906b88b33a6b54362b4dbc0f39aa2daad" auth_type=sha256 workdir="libmodplug-$version" install() { - run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install + run make DESTDIR=${SERENITY_INSTALL_ROOT} "${installopts[@]}" install ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.so -Wl,-soname,libmodplug.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.a -Wl,--no-whole-archive rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/libmodplug.la } |