From c283d27887264d6087c23e968126b7a93f0d005a Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 17 Mar 2014 17:02:55 +0000 Subject: *libnice needs c99 for SunOS builds --- net/gst-plugins1-libnice/Makefile | 8 +++++++- net/libnice/Makefile | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'net') diff --git a/net/gst-plugins1-libnice/Makefile b/net/gst-plugins1-libnice/Makefile index 00b5110fb18..5f89e2d8950 100644 --- a/net/gst-plugins1-libnice/Makefile +++ b/net/gst-plugins1-libnice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2014/03/15 22:02:55 wiz Exp $ +# $NetBSD: Makefile,v 1.8 2014/03/17 17:02:55 richard Exp $ DISTNAME= libnice-0.1.5 PKGNAME= gst-plugins1-${DISTNAME} @@ -20,6 +20,12 @@ USE_LIBTOOL= yes USE_TOOLS+= pkg-config CONFIGURE_ARGS+= --with-gstreamer +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +USE_LANGUAGES+= c99 +.endif + BUILD_DIRS= gst INSTALL_DIRS= gst 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 -- cgit v1.2.3