diff options
Diffstat (limited to 'chat/xchat-systray-integration/patches/patch-aa')
-rw-r--r-- | chat/xchat-systray-integration/patches/patch-aa | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/chat/xchat-systray-integration/patches/patch-aa b/chat/xchat-systray-integration/patches/patch-aa index f41ef15422b..8976ac7759a 100644 --- a/chat/xchat-systray-integration/patches/patch-aa +++ b/chat/xchat-systray-integration/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.2 2006/07/06 21:26:23 minskim Exp $ +$NetBSD: patch-aa,v 1.3 2006/07/06 22:04:03 minskim Exp $ ---- Makefile.orig 2004-04-30 12:38:10.000000000 +0000 +--- Makefile.orig 2004-04-30 05:38:10.000000000 -0700 +++ Makefile -@@ -1,10 +1,10 @@ +@@ -1,15 +1,15 @@ #UNIX VARS -CFLAGS = -Os -Wall -GTKFLAGS =`pkg-config gtk+-2.0 --cflags` @@ -17,6 +17,12 @@ $NetBSD: patch-aa,v 1.2 2006/07/06 21:26:23 minskim Exp $ ifndef prefix prefix=/usr/ endif + plugindir = $(prefix)/lib/xchat/plugins/ +-Objects = src/away_system.o src/data_manager.o src/events.o src/menu.o src/settings.o src/warnings.o src/help.o src/eggtrayicon.o src/systray.o ++Objects = src/away_system.o src/data_manager.o src/events.o src/menu.o src/settings.o src/warnings.o src/help.o src/eggtrayicon.o src/systray.o src/traycoreengine.o + + #WINDOWS VARS + GTKPREFIX=C:/DEV-CPP/include/ @@ -27,7 +27,7 @@ WINCFLAGS = $(WINGTKFLAGS) -DBUILDING_DL WINObjects = src/away_system.o src/data_manager.o src/events.o src/menu.o src/settings.o src/warnings.o src/help.o src/systray.o @@ -26,7 +32,7 @@ $NetBSD: patch-aa,v 1.2 2006/07/06 21:26:23 minskim Exp $ else plugin=Systray.dll plugindir=C:/Program Files/X-Chat2/plugins/ -@@ -63,42 +63,42 @@ src/systray.o: src/systray.c +@@ -63,42 +63,45 @@ src/systray.o: src/systray.c else src/eggtrayicon.o: src/libs/Unix/eggtrayicon.c @@ -68,6 +74,9 @@ $NetBSD: patch-aa,v 1.2 2006/07/06 21:26:23 minskim Exp $ -systray.so: $(Objects) - $(CC) $(CFLAGS) $(LIBS) $(Objects) -shared -o $(plugin) ++src/traycoreengine.o: src/libs/traycoreengine.c ++ ${SHLIBTOOL} --mode=compile ${CC} $(CFLAGS) $(GTKFLAGS) -c src/libs/traycoreengine.c -o src/traycoreengine.o ++ +systray.la: $(Objects) + ${SHLIBTOOL} --mode=link ${CC} $(LIBS) ${Objects:.o=.lo} -o ${plugin} -rpath ${prefix}/lib -avoid-version -module |