From b774284cd772aa6020b3c4a598c59ac47303b002 Mon Sep 17 00:00:00 2001
From: hans <hans@pkgsrc.org>
Date: Thu, 16 Feb 2012 15:12:49 +0000
Subject: Fix build on SunOS.

---
 chat/libpurple/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'chat/libpurple')

diff --git a/chat/libpurple/Makefile b/chat/libpurple/Makefile
index 068e16017e7..401551f0a7c 100644
--- a/chat/libpurple/Makefile
+++ b/chat/libpurple/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2012/02/06 12:39:36 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2012/02/16 15:17:05 hans Exp $
 
 PKGNAME=	libpurple-${PIDGIN_VERSION}
 PKGREVISION=	3
@@ -15,6 +15,8 @@ MAKE_ENV+=		GCONF_SCHEMA_FILE_DIR=${PREFIX}/share/gconf/schemas/
 PKGCONFIG_OVERRIDE+=	gaim.pc.in
 PKGCONFIG_OVERRIDE+=	libpurple/purple.pc.in
 
+CPPFLAGS.SunOS+=	-D__SunOS
+
 .include "options.mk"
 
 BUILD_DIRS=	m4macros libpurple po share/ca-certs share/sounds
-- 
cgit v1.2.3