aboutsummaryrefslogtreecommitdiff
path: root/chinese/gcin/files/patch-qt4-im__Makefile
blob: 3a3d6ed2124035b50bb8bdc4fb748ab92533a248 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- qt4-im/Makefile.orig	2012-03-05 20:26:54.000000000 +0800
+++ qt4-im/Makefile	2014-04-12 11:02:12.447548888 +0800
@@ -3,7 +3,7 @@ QT=qt4
 QTIM=$(QT)/plugins/inputmethods
 IMMODULES=$(libdir)/$(DEB_BUILD_MULTIARCH)/$(QTIM)
 
-INCS=-I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags`
+INCS=-I../im-client -I$(prefix)/include/X11 `pkg-config QtCore QtGui --cflags`
 CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC  -DQT4 -DQT_SHARED \
 -DQT_IMMODULE -DPIC
 OBJS= moc_gcin-qt.o gcin-qt.o im-gcin-qt.o gcin-imcontext-qt.o
@@ -35,4 +35,4 @@ clean:
 .depend:
 	$(CXX) $(CXXFLAGS) -MM *.cpp > $@
 
-include .depend
+#include .depend