$OpenBSD: patch-Makefile,v 1.8 2010/10/24 19:19:06 steven Exp $ --- Makefile.orig Fri Oct 8 13:35:45 2010 +++ Makefile Sun Oct 24 18:56:45 2010 @@ -10,8 +10,8 @@ LINUX_PPC_COMPILER = powerpc-unknown-linux-gnu-gcc FREEBSD60_COMPILER = i686-pc-freebsd6.0-gcc MACPORT_COMPILER = i686-apple-darwin10-gcc-4.0.1 -LIBPURPLE_CFLAGS = -I/usr/include/libpurple -I/usr/local/include/libpurple -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB -GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/include/json-glib-1.0 -ljson-glib-1.0 +LIBPURPLE_CFLAGS = `pkg-config --cflags purple` -DPURPLE_PLUGINS -DENABLE_NLS -DHAVE_ZLIB +GLIB_CFLAGS = -I${LOCALBASE}/include `pkg-config --cflags json-glib-1.0` -L${LOCALBASE}/lib -ljson-glib-1.0 WIN32_DEV_DIR = /root/pidgin/win32-dev WIN32_PIDGIN_DIR = /root/pidgin/pidgin-2.3.0_win32 WIN32_CFLAGS = -I${WIN32_DEV_DIR}/gtk_2_0/include/glib-2.0 -I${WIN32_PIDGIN_DIR}/libpurple/win32 -I${WIN32_DEV_DIR}/gtk_2_0/include -I${WIN32_DEV_DIR}/gtk_2_0/include/glib-2.0 -I${WIN32_DEV_DIR}/gtk_2_0/lib/glib-2.0/include -I/usr/include/json-glib-1.0 -Wno-format @@ -34,20 +34,7 @@ FACEBOOK_SOURCES = \ fb_util.c \ fb_friendlist.c \ fb_json.c \ - fb_chat.c \ - libfacebook.h \ - fb_blist.h \ - fb_connection.h \ - fb_conversation.h \ - fb_info.h \ - fb_managefriends.h \ - fb_messages.h \ - fb_notifications.h \ - fb_search.h \ - fb_util.h \ - fb_friendlist.h \ - fb_json.h \ - fb_chat.h + fb_chat.c #Standard stuff here .PHONY: all clean install sourcepackage