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
commitbeb0f881cb4eb285228bbfdce62555146b0b87ae (patch)
tree126ab64b8c18b52cbc41f96db92e5b970b33df10 /chat
parent06745b28f3d00b0ab8d724c7f732099ceec112e9 (diff)
downloadpkgsrc-beb0f881cb4eb285228bbfdce62555146b0b87ae.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"