summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-11-26 19:49:54 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:18:56 +0000
commite0cb09c6aca7c27fc17be8105b482e4205489ae1 (patch)
tree407801b8f52cc618a8430ef072b97673bb6db791 /meta
parentd04fdd5f9e4ade3497368237937955c478e31fcc (diff)
downloadpoky-e0cb09c6aca7c27fc17be8105b482e4205489ae1.tar.gz
glew: Additional fix for generation of glew.pc.
Without this fix, building mesa-demos with the glew PACKAGECONFIG will result in errors like the below being logged in tmp/work/*/mesa-demos/*/build/config.log: configure:16529: checking for GLEW configure:16536: $PKG_CONFIG --exists --print-errors "glew >= 1.5.4" Package @requireslib@ was not found in the pkg-config search path. Perhaps you should add the directory containing `@requireslib@.pc' to the PKG_CONFIG_PATH environment variable Package '@requireslib@', required by 'glew', not found configure:16539: $? = 1 (From OE-Core rev: 9245cb4fe211da06283d53086bca3fcd5b2c8aef) (From OE-Core rev: 77597c8b6f30090f5680af2f5251b53968727b10) Signed-off-by: Drew Moseley <drew_moseley@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
index a20fbfce00..70a99aeeee 100644
--- a/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
+++ b/meta/recipes-graphics/glew/glew/fix-glew.pc-install.patch
@@ -39,7 +39,8 @@ Index: glew-1.11.0/glew.pc.in
39-Version: @version@ 39-Version: @version@
40-Cflags: -I${includedir} @cflags@ 40-Cflags: -I${includedir} @cflags@
41-Libs: -L${libdir} -l@libname@ 41-Libs: -L${libdir} -l@libname@
42-Requires: @requireslib@
42+Version: @VERSION@ 43+Version: @VERSION@
43+Cflags: -I${includedir} @CFLAGS@ 44+Cflags: -I${includedir} @CFLAGS@
44+Libs: -L${libdir} -lGLEW 45+Libs: -L${libdir} -lGLEW
45 Requires: @requireslib@ 46+Requires: glu