aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin-msn-pecan/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/pidgin-msn-pecan/files/patch-Makefile')
-rw-r--r--net-im/pidgin-msn-pecan/files/patch-Makefile25
1 files changed, 12 insertions, 13 deletions
diff --git a/net-im/pidgin-msn-pecan/files/patch-Makefile b/net-im/pidgin-msn-pecan/files/patch-Makefile
index 3bbc36afbfab..07d9ac2b22f8 100644
--- a/net-im/pidgin-msn-pecan/files/patch-Makefile
+++ b/net-im/pidgin-msn-pecan/files/patch-Makefile
@@ -1,29 +1,28 @@
---- Makefile.orig 2008-08-29 06:15:22.000000000 +0800
-+++ Makefile 2008-09-01 03:46:46.000000000 +0800
-@@ -27,16 +27,16 @@
+diff -Naur ./Makefile ../pecan/Makefile
+--- ./Makefile 2008-09-16 21:42:17.000000000 +0200
++++ ../pecan/Makefile 2008-09-16 21:45:04.000000000 +0200
+@@ -29,7 +29,7 @@
OTHER_WARNINGS=-D_FORTIFY_SOURCE=2 -fstack-protector -g3 -Wdisabled-optimization \
-Wendif-labels -Wformat=2 -Wstack-protector -Wswitch
-CFLAGS+=-Wall # $(EXTRA_WARNINGS)
+CFLAGS+=-Wall -I/usr/local/include # $(EXTRA_WARNINGS)
- override CFLAGS+=-I. -D PACKAGE='"msn-pecan"' -DENABLE_NLS -DHAVE_LIBPURPLE -DPURPLE_DEBUG -D PLUGIN_NAME='msn-pecan'
-
+ override CFLAGS+=-I. -D PACKAGE='"libmsn-pecan"' -DENABLE_NLS -DHAVE_LIBPURPLE -DPURPLE_DEBUG -DLIBPURPLE_NEW_API \
+ -D PLUGIN_NAME='msn-pecan'
+@@ -43,7 +43,7 @@
# For glib < 2.6 support (libpurple maniacs)
FALLBACK_CFLAGS+=-I./fix_purple
-LDFLAGS:=-Wl,--no-undefined
+LDFLAGS:=-Wl,--no-undefined,-lintl
--DATA_DIR=/usr/share
-+DATA_DIR=/usr/local/share
-
- purpledir=$(DESTDIR)/$(PURPLE_PREFIX)/lib/purple-2
-
-@@ -180,5 +180,5 @@
+ prefix=$(DESTDIR)/$(PURPLE_PREFIX)
+ plugin_dir=$(prefix)/lib/purple-2
+@@ -199,5 +199,5 @@
install_locales: $(foreach e,$(CATALOGS),po/libmsn-pecan-$(e).mo)
for x in $(CATALOGS); do \
-- install po/libmsn-pecan-$$x.mo $(DATA_DIR)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
-+ install -m 444 po/libmsn-pecan-$$x.mo $(DATA_DIR)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
+- install -D po/libmsn-pecan-$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
++ install -m 444 po/libmsn-pecan-$$x.mo $(data_dir)/locale/$$x/LC_MESSAGES/libmsn-pecan.mo; \
done