mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03:00
Ports/prboom-plus: Add CMAKE_TOOLCHAIN_FILE
to configopts
This fixes an issue where `prboom-plus` wouldn't build if the `make` port was installed. Including this also makes some manually specified paths unnecessary.
This commit is contained in:
parent
434d95ef55
commit
8676ffee77
Notes:
sideshowbarker
2024-07-17 10:39:39 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/8676ffee77 Pull-request: https://github.com/SerenityOS/serenity/pull/20700 Reviewed-by: https://github.com/LucasChollet ✅ Reviewed-by: https://github.com/gmta ✅
@ -10,10 +10,7 @@ files=(
|
||||
workdir="prboom-plus-${version}/prboom2"
|
||||
depends=("glu" "libmad" "libvorbis" "SDL2" "SDL2_image" "SDL2_mixer" "SDL2_net")
|
||||
configopts=(
|
||||
"-DCMAKE_C_FLAGS=-I${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
"-DCMAKE_PREFIX_PATH=${SERENITY_INSTALL_ROOT}/usr/local"
|
||||
"-DFORCE_CROSSCOMPILE=ON"
|
||||
"-DOPENGL_gl_LIBRARY=${SERENITY_INSTALL_ROOT}/usr/lib/libgl.so"
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DWITH_ALSA=OFF"
|
||||
"-DWITH_DUMB=OFF"
|
||||
"-DWITH_FLUIDSYNTH=OFF"
|
||||
@ -36,7 +33,7 @@ build() {
|
||||
}
|
||||
|
||||
install() {
|
||||
run make DESTDIR="${DESTDIR}" -C build install
|
||||
run make -C build install
|
||||
|
||||
wad_directory="${SERENITY_INSTALL_ROOT}/usr/local/share/games/doom"
|
||||
mkdir -p "${wad_directory}"
|
||||
|
Loading…
Reference in New Issue
Block a user