head 1.1; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.1 date 2025.09.29.13.31.29; author nia; state Exp; branches; next ; commitid RbVj7cCsiuPc2CcG; desc @@ 1.1 log @warsow: Initial import of warsow. This is unrelated to the warsow package that charlotte worked on in pkgsrc-wip. I did this one from scratch and decided to use the internal copy of angelscript, since it seems to have diverged from the latest version in incompatible ways. dreckly ci confirms this builds on NetBSD and Linux. In theory, there's old code here to support FreeBSD, but it's quite obviously bitrotted over the years, and no longer works. Completely free fast-paced first-person shooter. Like a true cyberathlete you jump, dash, dodge, and walljump your way through the game. Grab power-ups before your enemy does, plant a bomb before anyone sees you, and steal the enemy's flag before they know what is going on! Our goal is to offer a fast and fun competitive first-person shooter without hard graphical violence - Warsow has no blood or guts flying around. Red circles instead of blood indicate hits and colored triangles replace guts as gib effects. @ text @$NetBSD$ - Change "Linux" to Unix. - Use CMAKE_DL_LIBS. --- source/source/snd_openal/CMakeLists.txt.orig 2025-09-29 07:39:45.630112943 +0000 +++ source/source/snd_openal/CMakeLists.txt @@@@ -18,8 +18,8 @@@@ file(GLOB SND_OPENAL_SOURCES "../gameshared/q_*.c" ) -if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") - set(SND_OPENAL_PLATFORM_LIBRARIES "m" "dl") +if (UNIX) + set(SND_OPENAL_PLATFORM_LIBRARIES "m" ${CMAKE_DL_LIBS}) else () set(SND_OPENAL_PLATFORM_LIBRARIES "") endif() @