summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-16 15:28:19 +0000
committerhans <hans@pkgsrc.org>2012-02-16 15:28:19 +0000
commitdce13e0fa3b1da72797fd79e195611d1076e6f02 (patch)
tree126ab64b8c18b52cbc41f96db92e5b970b33df10 /chat
parent59981a09977dadb9001bb0847a54516d61295e59 (diff)
downloadpkgsrc-dce13e0fa3b1da72797fd79e195611d1076e6f02.tar.gz
Fix build on SunOS.
Diffstat (limited to 'chat')
-rw-r--r--chat/mu-conference/Makefile3
-rw-r--r--chat/pidgin-latex/Makefile7
2 files changed, 8 insertions, 2 deletions
diff --git a/chat/mu-conference/Makefile b/chat/mu-conference/Makefile
index 21e7ea9948a..82089f71183 100644
--- a/chat/mu-conference/Makefile
+++ b/chat/mu-conference/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2012/02/06 12:39:36 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2012/02/16 15:28:19 hans Exp $
DISTNAME= mu-conference_0.8
PKGNAME= ${DISTNAME:S/_/-/}
@@ -16,6 +16,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake pkg-config
LDFLAGS+= -L${BUILDLINK_PREFIX.expat}/lib
LDFLAGS+= -L${BUILDLINK_PREFIX.libidn}/lib
+LDFLAGS.SunOS+= -lsocket -lnsl
PKG_SYSCONFSUBDIR= jabberd
RCD_SCRIPTS= muc
diff --git a/chat/pidgin-latex/Makefile b/chat/pidgin-latex/Makefile
index 3ef19966a19..0316acf6d8a 100644
--- a/chat/pidgin-latex/Makefile
+++ b/chat/pidgin-latex/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/02/06 12:39:37 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2012/02/16 15:29:59 hans Exp $
VERSION= 1.2.1
PKGREVISION= 13
@@ -28,6 +28,11 @@ do-install:
DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-Wl,--export-dynamic
+.endif
+
.include "../../chat/pidgin/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/tex.buildlink3.mk"