Lines 1-25
Link Here
|
1 |
--- Makefile.orig 2009-06-16 08:23:23.000000000 +0900 |
1 |
diff -Naur ./Makefile ../msn-pecan-0.1.0-rc1/Makefile |
2 |
+++ Makefile 2009-06-28 01:25:58.549210758 +0900 |
2 |
--- ./Makefile 2009-09-08 22:14:07.000000000 +0200 |
3 |
@@ -17,8 +17,8 @@ |
3 |
+++ ../msn-pecan-0.1.0-rc1/Makefile 2009-09-08 22:17:43.000000000 +0200 |
4 |
LIBSIREN := y |
4 |
@@ -41,7 +41,7 @@ |
5 |
PLUS_SOUNDS := y |
|
|
6 |
DEBUG := y |
7 |
|
8 |
-CFLAGS := -O2 |
9 |
+#CFLAGS := -O2 |
10 |
|
11 |
ifdef DEBUG |
12 |
CFLAGS += -ggdb |
13 |
@@ -34,7 +34,7 @@ |
14 |
OTHER_WARNINGS := -D_FORTIFY_SOURCE=2 -fstack-protector -g3 -Wdisabled-optimization \ |
5 |
OTHER_WARNINGS := -D_FORTIFY_SOURCE=2 -fstack-protector -g3 -Wdisabled-optimization \ |
15 |
-Wendif-labels -Wformat=2 -Wstack-protector -Wswitch |
6 |
-Wendif-labels -Wformat=2 -Wstack-protector -Wswitch |
16 |
|
7 |
|
17 |
-CFLAGS += -Wall # $(EXTRA_WARNINGS) |
8 |
-CFLAGS += -Wall # $(EXTRA_WARNINGS) |
18 |
+CFLAGS += -Wall -I$(LOCALBASE)/include # $(EXTRA_WARNINGS) |
9 |
+CFLAGS += -Wall -I${LOCALBASE}/include # $(EXTRA_WARNINGS) |
19 |
|
10 |
|
20 |
override CFLAGS += -I. -D GETTEXT_PACKAGE='"libmsn-pecan"' -DENABLE_NLS -DHAVE_LIBPURPLE -DPURPLE_DEBUG -D PLUGIN_NAME='msn-pecan' |
11 |
override CFLAGS += -D_XOPEN_SOURCE |
21 |
|
12 |
override CFLAGS += -I. -DENABLE_NLS -DHAVE_LIBPURPLE -DPURPLE_DEBUG |
22 |
@@ -61,7 +61,7 @@ |
13 |
@@ -74,7 +74,7 @@ |
23 |
# For glib < 2.6 support (libpurple maniacs) |
14 |
# For glib < 2.6 support (libpurple maniacs) |
24 |
FALLBACK_CFLAGS := -I./fix_purple |
15 |
FALLBACK_CFLAGS := -I./fix_purple |
25 |
|
16 |
|
Lines 28-39
Link Here
|
28 |
|
19 |
|
29 |
plugin_dir := $(DESTDIR)/$(PURPLE_LIBDIR)/purple-2 |
20 |
plugin_dir := $(DESTDIR)/$(PURPLE_LIBDIR)/purple-2 |
30 |
data_dir := $(DESTDIR)/$(PURPLE_DATADIR) |
21 |
data_dir := $(DESTDIR)/$(PURPLE_DATADIR) |
31 |
@@ -235,7 +235,7 @@ |
22 |
@@ -263,7 +263,7 @@ |
32 |
|
23 |
|
33 |
install_locales: $(foreach e,$(CATALOGS),po/libmsn-pecan-$(e).mo) |
24 |
install_locales: $(foreach e,$(CATALOGS),po/$(e).mo) |
34 |
for x in $(CATALOGS); do \ |
25 |
for x in $(CATALOGS); do \ |
35 |
- install -D po/libmsn-pecan-$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \ |
26 |
- install -D po/$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \ |
36 |
+ install -m 0444 po/libmsn-pecan-$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \ |
27 |
+ install -m 0444 po/$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \ |
37 |
done |
28 |
done |
38 |
|
29 |
|
39 |
-include $(deps) |
30 |
-include $(deps) |