blob: 9cbc0a95aa1c7b66cc07bbb708020023093a13c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
We maintain the autotools configure.ac and Makefile.am, to correctly
provide the glew.pc, the following patch is needed.
Upstream-Status: Inappropriate
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Index: glew-1.10.0/Makefile.am
===================================================================
--- glew-1.10.0.orig/Makefile.am
+++ glew-1.10.0/Makefile.am
@@ -3,3 +3,5 @@ ACLOCAL_AMFLAGS = -I m4 --install
SUBDIRS = include src
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = glew.pc
Index: glew-1.10.0/configure.ac
===================================================================
--- glew-1.10.0.orig/configure.ac
+++ glew-1.10.0/configure.ac
@@ -66,5 +66,6 @@ AC_SUBST([LIBGLEW_SO_VERSION], [1:9:0])
AC_CONFIG_FILES([Makefile
include/Makefile
- src/Makefile])
+ src/Makefile
+ glew.pc])
AC_OUTPUT
Index: glew-1.10.0/glew.pc.in
===================================================================
--- glew-1.10.0.orig/glew.pc.in
+++ glew-1.10.0/glew.pc.in
@@ -5,7 +5,7 @@ includedir=@includedir@
Name: glew
Description: The OpenGL Extension Wrangler library
-Version: @version@
-Cflags: -I${includedir} @cflags@
-Libs: -L${libdir} -l@libname@
+Version: @VERSION@
+Cflags: -I${includedir} @CFLAGS@
+Libs: -L${libdir} -lGLEW
Requires: glu
|