From f9f94704691e080f094509f01c5723b8ea0f263b Mon Sep 17 00:00:00 2001 From: hans Date: Thu, 16 Feb 2012 15:12:49 +0000 Subject: Fix build on SunOS. --- chat/libfolks/Makefile | 4 +++- chat/libmsn/Makefile | 4 +++- chat/libpurple/Makefile | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'chat') diff --git a/chat/libfolks/Makefile b/chat/libfolks/Makefile index b69ca1a19f1..2df559ff07e 100644 --- a/chat/libfolks/Makefile +++ b/chat/libfolks/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2012/02/06 12:39:36 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2012/02/16 15:12:49 hans Exp $ # DISTNAME= folks-0.4.2 @@ -25,6 +25,8 @@ PKGCONFIG_OVERRIDE+= folks/folks.pc.in TEST_TARGET= check +CPPFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 + .include "../../devel/glib2/buildlink3.mk" .include "../../devel/gobject-introspection/buildlink3.mk" .include "../../sysutils/dbus-glib/buildlink3.mk" diff --git a/chat/libmsn/Makefile b/chat/libmsn/Makefile index 44ceb47195d..c7a884c9cb3 100644 --- a/chat/libmsn/Makefile +++ b/chat/libmsn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2010/04/10 00:11:49 markd Exp $ +# $NetBSD: Makefile,v 1.4 2012/02/16 15:14:41 hans Exp $ DISTNAME= libmsn-4.1 CATEGORIES= chat @@ -17,5 +17,7 @@ USE_LANGUAGES+= c c++ PKGCONFIG_OVERRIDE+= libmsn.pc.cmake +LDFLAGS.SunOS+= -lsocket -lnsl + .include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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