summaryrefslogtreecommitdiff
path: root/audio/glurp
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-11 17:05:51 +0000
committerhans <hans@pkgsrc.org>2012-01-11 17:05:51 +0000
commit3f5ae450723239ef90c3b83c37b283720cda6122 (patch)
treeb212dc41def8a6c36f5c2bd6cd887d37df8c1f36 /audio/glurp
parent4626b6d5e875d522b0d2d8e2465d315a66c949cf (diff)
downloadpkgsrc-3f5ae450723239ef90c3b83c37b283720cda6122.tar.gz
Fix build on SunOS.
Diffstat (limited to 'audio/glurp')
-rw-r--r--audio/glurp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/glurp/Makefile b/audio/glurp/Makefile
index e78a4ca21de..53abf231714 100644
--- a/audio/glurp/Makefile
+++ b/audio/glurp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/11/01 06:00:36 sbd Exp $
+# $NetBSD: Makefile,v 1.20 2012/01/11 17:08:05 hans Exp $
#
DISTNAME= glurp-0.11.6
@@ -16,6 +16,13 @@ PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= intltool pkg-config
+LIBS.SunOS+= -lsocket -lnsl
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-export-dynamic
+.endif
+
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"