summaryrefslogtreecommitdiff
blob: f07b91259ff01af2e0f0e8276e7cd10a36e56ef5 (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
https://bugs.gentoo.org/attachment.cgi?id=278091&action=diff&context=patch&collapsed=&headers=1&format=raw
https://bugs.gentoo.org/show_bug.cgi?id=372953
https://bugzilla.gnome.org/show_bug.cgi?id=642085

--- gtk/Makefile.am~	2011-10-18 00:38:28.000000000 +0200
+++ gtk/Makefile.am	2011-10-18 20:28:40.187219540 +0200
@@ -32,7 +32,7 @@
 endif
 endif
 
-INCLUDES =						\
+INCLUDES_COMMON =						\
 	-DG_LOG_DOMAIN=\"Gtk\"				\
 	-DGTK_LIBDIR=\"$(libdir)\"			\
 	-DGTK_DATADIR=\"$(datadir)\"			\
@@ -52,9 +52,18 @@
 	-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED		\
 	-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED		\
 	$(GTK_DEBUG_FLAGS)				\
-	$(GTK_DEP_CFLAGS)				\
+	$(GTK_DEP_CFLAGS)
+
+
+INCLUDES=                                              \
+	$(INCLUDES_COMMON)                              \
 	$(INCLUDED_IMMODULE_DEFINE)
 
+
+INCLUDES_GIR=                                          \
+	$(INCLUDES_COMMON)                              \
+	$(INCLUDED_IMMODULE_DEFINE)
+	
 gtarget=$(gdktarget)
 
 if PLATFORM_WIN32
@@ -1016,7 +1025,7 @@
 endif
 Gtk_2_0_gir_INCLUDES = Atk-1.0 Gdk-2.0
 Gtk_2_0_gir_CFLAGS = \
-		$(INCLUDES) \
+		$(INCLUDES_GIR) \
 		-UGDK_DISABLE_DEPRECATED \
 		-UGTK_DISABLE_DEPRECATED \
 		-DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API