summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/gnustep-gnometheme/files/gnustep-gnometheme-9999-pkgconfig.patch')
-rw-r--r--x11-themes/gnustep-gnometheme/files/gnustep-gnometheme-9999-pkgconfig.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11-themes/gnustep-gnometheme/files/gnustep-gnometheme-9999-pkgconfig.patch b/x11-themes/gnustep-gnometheme/files/gnustep-gnometheme-9999-pkgconfig.patch
new file mode 100644
index 0000000..2b8dc81
--- /dev/null
+++ b/x11-themes/gnustep-gnometheme/files/gnustep-gnometheme-9999-pkgconfig.patch
@@ -0,0 +1,18 @@
+--- GNUmakefile.orig 2011-04-21 10:36:11.077814154 +0200
++++ GNUmakefile 2011-04-21 11:13:00.877039286 +0200
+@@ -8,13 +8,12 @@
+
+ include $(GNUSTEP_MAKEFILES)/common.make
+
+-MYCFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gconf/2/
++MYCFLAGS = $(shell pkg-config --cflags gconf-2.0 gtk+-2.0)
+
+ ADDITIONAL_OBJCFLAGS = -Wno-import -g $(MYCFLAGS) -O0 # -Wall -O2
+ ADDITIONAL_CFLAGS = $(MYCFLAGS)
+
+-ADDITIONAL_LDFLAGS = -v -L/usr/lib/debug/usr/lib/ -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lgconf-2
+-
++ADDITIONAL_LDFLAGS = $(shell pkg-config --libs gconf-2.0 gtk+-2.0)
+ #
+ # Main
+ #