summaryrefslogtreecommitdiff
path: root/misc/langdrill/000_pkg_config.diff
blob: fe19bcb5ec3db1813e64c291ad6fc88f5d8d32a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ru langdrill-0.3-orig/src/Makefile langdrill-0.3/src/Makefile
--- langdrill-0.3-orig/src/Makefile	2006-03-14 23:46:31.000000000 -0800
+++ langdrill-0.3/src/Makefile	2006-03-14 23:48:17.000000000 -0800
@@ -16,7 +16,7 @@
 DEF_FLAGS = -DTARGET='"$(TARGET)"' \
 	-DDRILL_DEF='"$(DRILL_DEF)"' \
 	-DDRILL_DIR='"$(DRILL_DIR)"' \
-	-I /usr/include/gtk-2.0/
+	`pkg-config --cflags gtk+-2.0`
 
 ###### Test for Debian GNU/Linux
 # If your system is not Debian GNU/Linux please modify the values after
@@ -37,7 +37,7 @@
 endif
 
 CC = g++
-LFLAGS = `vdk-config-2 --libs` 
+LFLAGS = `vdk-config-2 --libs` `pkg-config --libs gtk+-2.0`
 
 
 ####### Implicit rules