summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 15:37:55 +0000
committerhans <hans@pkgsrc.org>2012-02-16 15:37:55 +0000
commit6c70754b5c99425c7b0648db2bf905b405b9616e (patch)
tree7e355b79ed81b9ddcd9f7a60feec612022a212f9 /chat
parentf10dfdcbcf4d90c974f3e28e36324b2400d2d941 (diff)
downloadpkgsrc-6c70754b5c99425c7b0648db2bf905b405b9616e.tar.gz
Fix build on SunOS.
Diffstat (limited to 'chat')
-rw-r--r--chat/smirk/Makefile4
-rw-r--r--chat/telepathy-farsight/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/chat/smirk/Makefile b/chat/smirk/Makefile
index 57d8e5fc4a7..31793bc57dd 100644
--- a/chat/smirk/Makefile
+++ b/chat/smirk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2011/02/28 14:52:41 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2012/02/16 15:37:55 hans Exp $
#
DISTNAME= smirk-20080111
@@ -23,6 +23,8 @@ DATADIR= ${PREFIX}/share/${PKGBASE}
HELP_DIR= ${DATADIR}/help
HELP_FILES= clientcmnds.hlp irccmnds.hlp keys.hlp
+LIBS.SunOS+= -lsocket -lnsl
+
do-install:
${INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/src/smirk ${DESTDIR}${PREFIX}/bin
diff --git a/chat/telepathy-farsight/Makefile b/chat/telepathy-farsight/Makefile
index 8f04f949201..60424d2f2b2 100644
--- a/chat/telepathy-farsight/Makefile
+++ b/chat/telepathy-farsight/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2012/02/06 12:39:38 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2012/02/16 15:39:11 hans Exp $
#
DISTNAME= telepathy-farsight-0.0.16
@@ -17,6 +17,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
PKGCONFIG_OVERRIDE+= telepathy-farsight/telepathy-farsight.pc.in
PY_PATCHPLIST= yes