Files
ports/games/fna/faudio/Makefile
T
sthen 223dd2dcf0 set COMPILER_LANGS=c for various C-only ports
add annotations near COMPILER for some other ports that don't have
COMPILER_LIBCXX in WANTLIB

not changing the actual compiler version of anything here (some could
possibly remove the COMPILER line completely where they only used
COMPILER due to an old WANTLIB entry which has since stopped using
C++, but changing that is too likely to break things)
2025-01-28 11:22:02 +00:00

28 lines
445 B
Makefile

COMMENT = XAudio reimplementation for open platforms
PKGNAME = faudio-${V}
REVISION = 0
SHARED_LIBS = FAudio 4.2 # 24.03
CATEGORIES += audio
# zlib
PERMIT_PACKAGE = Yes
WANTLIB += SDL2
COMPILER = base-clang ports-gcc
COMPILER_LANGS = c
MODULES = devel/cmake
LIB_DEPENDS = devel/sdl2
USE_GMAKE = Yes
CONFIGURE_ARGS += -DBUILD_TESTS=ON
WRKDIST = ${WRKDIR}/FNA/lib/FAudio
do-test:
cd ${WRKBUILD} && ./faudio_tests
.include <bsd.port.mk>