From 0742c220491e28a5e104925ed1700dd73a1ae0be Mon Sep 17 00:00:00 2001 From: kwm Date: Sat, 20 Nov 2010 14:00:22 +0000 Subject: Use pkg-config to find where gl is installed instead of hard coding /usr/local/include. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14913 df743ca5-7f9a-e211-a948-0013205c9059 --- .../files/patch-clutter_cogl_cogl_Makefile.in | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'graphics/clutter/files') diff --git a/graphics/clutter/files/patch-clutter_cogl_cogl_Makefile.in b/graphics/clutter/files/patch-clutter_cogl_cogl_Makefile.in index a699920d1..ec4a62547 100644 --- a/graphics/clutter/files/patch-clutter_cogl_cogl_Makefile.in +++ b/graphics/clutter/files/patch-clutter_cogl_cogl_Makefile.in @@ -1,11 +1,10 @@ ---- clutter/cogl/cogl/Makefile.in.orig 2010-10-07 12:11:29.000000000 +0200 -+++ clutter/cogl/cogl/Makefile.in 2010-10-07 12:12:52.000000000 +0200 -@@ -773,7 +773,7 @@ - @HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@ - @HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-cogl.la - @HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cogl_headers) cogl-enum-types.h --@HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(AM_CPPFLAGS) -+@HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) -I/usr/local/include $(AM_CPPFLAGS) - @HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GL-1.0 GObject-2.0 - @HAVE_INTROSPECTION_TRUE@Cogl_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = --warn-all --c-include='cogl/cogl.h' - @HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0 +--- clutter/cogl/cogl/Makefile.in.orig 2010-11-20 14:38:12.000000000 +0100 ++++ clutter/cogl/cogl/Makefile.in 2010-11-20 14:47:42.000000000 +0100 +@@ -582,6 +582,7 @@ + -I$(srcdir)/winsys \ + -I$(srcdir)/driver/$(COGL_DRIVER) \ + -I$(top_builddir)/clutter/cogl \ ++ `pkg-config --cflags gl` \ + $(NULL) + + AM_CPPFLAGS = \ -- cgit v1.2.3