git: 1a6d3da28dfa - main - games/stratagus: fix build with disabled VORBIS

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Mon, 18 Apr 2022 13:59:26 UTC
The branch main has been updated by amdmi3:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a6d3da28dfad795479becc13e0a14b54a866651

commit 1a6d3da28dfad795479becc13e0a14b54a866651
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-04-18 12:34:11 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-04-18 13:46:29 +0000

    games/stratagus: fix build with disabled VORBIS
    
    Reported by:    reprise
---
 games/stratagus/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile
index 39fafe382c73..2254851f68ab 100644
--- a/games/stratagus/Makefile
+++ b/games/stratagus/Makefile
@@ -38,6 +38,8 @@ MNG_CMAKE_BOOL=		WITH_MNG
 
 THEORA_LIB_DEPENDS=	libtheora.so:multimedia/libtheora
 THEORA_CMAKE_BOOL=	WITH_THEORA
+# XXX: does not build otherwise, remove after upstream bug is fixed: https://github.com/Wargus/stratagus/issues/396
+THEORA_IMPLIES=		VORBIS
 
 VORBIS_LIB_DEPENDS=	libvorbis.so:audio/libvorbis \
 			libogg.so:audio/libogg