summaryrefslogtreecommitdiff
path: root/net-im/komclean/files/patch-src-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/komclean/files/patch-src-Makefile')
-rw-r--r--net-im/komclean/files/patch-src-Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/net-im/komclean/files/patch-src-Makefile b/net-im/komclean/files/patch-src-Makefile
new file mode 100644
index 000000000000..8b41f50012d5
--- /dev/null
+++ b/net-im/komclean/files/patch-src-Makefile
@@ -0,0 +1,26 @@
+--- src/Makefile.orig 2009-06-25 15:36:16.000000000 +0200
++++ src/Makefile 2011-01-15 23:17:10.000000000 +0100
+@@ -11,7 +11,7 @@
+
+ LIBS = -lX11 -lXext -lXpm
+
+-CPPFLAGS += -Wall -g
++CXXFLAGS += -Wall -g
+ LDFLAGS += -Wall $(LIBS)
+
+ KOMCLEANBIN = ../komclean
+@@ -26,12 +26,12 @@
+
+ depend:
+ touch Makefile.dep
+- makedepend -Y -fMakefile.dep -- $(CPPFLAGS) -- $(SRC)
++ makedepend -Y -fMakefile.dep -- $(CXXFLAGS) -- $(SRC)
+ \rm Makefile.dep.bak
+
+ .SUFFIXES:.cpp .o
+ .cpp.o:
+- $(CXX) $(CPPFLAGS) -c $< -o $@
++ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+ -include Makefile.dep
+