diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-08-24 00:36:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-08-24 11:59:50 +0200 |
commit | 07a7d3e136cf1303fd9eec8f23a57c95afe45dc6 (patch) | |
tree | 8c18b4880a5dae5b0525f763c6b8a00433f7f48f | |
parent | 77a725b6f40e429983391c9b3ab5a650ef96424e (diff) | |
download | serenity-07a7d3e136cf1303fd9eec8f23a57c95afe45dc6.zip |
Ports: Select right config tools for SDL_mixer
Previously, you would need `sdl-config` and `libmikmod-config` on your
host machine to get SDL_mixer to build. With this patch, it always
works :^)
-rwxr-xr-x | Ports/SDL_mixer/package.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ports/SDL_mixer/package.sh b/Ports/SDL_mixer/package.sh index 80eae98e18..a67b092679 100755 --- a/Ports/SDL_mixer/package.sh +++ b/Ports/SDL_mixer/package.sh @@ -8,3 +8,8 @@ config_sub_paths=("build-scripts/config.sub") files="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-${version}.tar.gz SDL_mixer-${version}.tar.gz 1644308279a975799049e4826af2cfc787cad2abb11aa14562e402521f86992a" auth_type=sha256 depends=("libmikmod" "libvorbis" "sdl12-compat") + +# Explicitly point to the config binaries installed by our ports. Otherwise, it will +# only work if by chance your host machine has those binaries in $PATH. +export LIBMIKMOD_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/libmikmod-config" +export SDL_CONFIG="${SERENITY_INSTALL_ROOT}/usr/local/bin/sdl-config" |