summaryrefslogtreecommitdiff
path: root/net/libnice/Makefile.common
blob: a762da82846fa015eb1d58c20e8158ef3dc35d9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $NetBSD: Makefile.common,v 1.3 2017/08/16 20:21:13 wiz Exp $
#
# used by net/libnice/Makefile
# used by net/gst-plugins1-libnice/Makefile

DISTNAME=	libnice-0.1.14
CATEGORIES=	net devel
MASTER_SITES=	http://nice.freedesktop.org/releases/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://nice.freedesktop.org/wiki/
COMMENT=	IETF's Interactive Connectivity Establishment standard implementation
LICENSE=	gnu-lgpl-v2.1 OR mpl-1.1

PATCHDIR=	${.CURDIR}/../../net/libnice/patches
DISTINFO_FILE=	${.CURDIR}/../../net/libnice/distinfo

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
USE_LANGUAGES+=	c99
.endif

BUILDLINK_TRANSFORM+=	rm:-Werror

.include "../../mk/compiler.mk"

.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+=	-Wunused-but-set-variable
CWRAPPERS_APPEND.cc+=	-Wunused-but-set-variable
.endif

BUILDLINK_API_DEPENDS.glib2+=	glib2>=2.44.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../net/gupnp-igd/buildlink3.mk"