summaryrefslogtreecommitdiff
path: root/net/libnice/Makefile
diff options
context:
space:
mode:
authorrichard <richard@pkgsrc.org>2014-03-17 17:02:55 +0000
committerrichard <richard@pkgsrc.org>2014-03-17 17:02:55 +0000
commit8bc33c8faf2fb004363d18332c4f03bfba4d3630 (patch)
treed4abce987b57137e6a439b95ca033af64feb409d /net/libnice/Makefile
parent3daf5d948316b76be7dbbdd275dc44058ea32b9b (diff)
downloadpkgsrc-8bc33c8faf2fb004363d18332c4f03bfba4d3630.tar.gz
*libnice needs c99 for SunOS builds
Diffstat (limited to 'net/libnice/Makefile')
-rw-r--r--net/libnice/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/libnice/Makefile b/net/libnice/Makefile
index adda5755f96..ef6f118af4c 100644
--- a/net/libnice/Makefile
+++ b/net/libnice/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2014/03/15 22:02:55 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2014/03/17 17:02:55 richard Exp $
#
# Also update net/gst-plugins1-libnice when you update this!
@@ -16,6 +16,12 @@ USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --without-gstreamer
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+USE_LANGUAGES+= c99
+.endif
+
PKGCONFIG_OVERRIDE+= nice/nice.pc.in
BUILDLINK_TRANSFORM+= rm:-Werror