mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user