package/libglew: do not depend on libglu
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 3 May 2020 17:12:26 +0000 (19:12 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 3 May 2020 17:47:38 +0000 (19:47 +0200)
commitb9b5597c32ddc89f4cf5f49782aca03be58d0d23
treeef82fbfe927dc4f4266181976d9147184b8a7e5c
parentadfc272376afa4b672e80b66a495f41a96d972e0
package/libglew: do not depend on libglu

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

This patch prevents libglu being added to the "Requires:" section of
glew.pc fixing libglew detection in the supertuxkart package

-- Checking for module 'glew>=2.1'
--   Package 'glu', required by 'glew', not found

after libglu is removed as dependency of supertuxkart.

Supertuxkart already uses -DGLEW_NO_GLU:
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L224

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libglew/libglew.mk