games-arcade/tuxanci: Fix cmake to search for glu instead of gl

Closes: https://bugs.gentoo.org/715132
Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2021-02-28 13:26:06 +01:00
parent 1b5dba47a8
commit a7eccdebaf
2 changed files with 13 additions and 0 deletions
@@ -0,0 +1,11 @@
--- a/CMakeLists.txt 2011-04-29 00:29:40.000000000 +0200
+++ b/CMakeLists.txt 2021-02-27 00:48:05.172582259 +0100
@@ -187,7 +187,7 @@
pkg_check_modules(FONTCONFIG REQUIRED fontconfig)
INCLUDE_DIRECTORIES ( ${FONTCONFIG_INCLUDE_DIRS} )
IF ( WITH_OPENGL )
- pkg_check_modules(OPENGL REQUIRED gl>=7.5)
+ pkg_check_modules(OPENGL REQUIRED glu>=7.5)
INCLUDE_DIRECTORIES ( ${OPENGL_INCLUDE_DIRS} )
ENDIF ( WITH_OPENGL )
pkg_check_modules(SDL REQUIRED sdl)
@@ -38,6 +38,8 @@ BDEPEND="
nls? ( sys-devel/gettext )
"
PATCHES=( "${FILESDIR}/${P}-glu.patch" ) # bug 715132
src_configure() {
local mycmakeargs=(
-DWITH_AUDIO=$(usex sound)