blob: 526667a3afbcbd67d2bd85156b514e3b2275d755 (
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
|
# $NetBSD: options.mk,v 1.8 2009/12/09 12:27:28 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libnids
PKG_OPTIONS_REQUIRED_GROUPS= libnet
PKG_OPTIONS_GROUP.libnet= libnet10 libnet11
PKG_SUPPORTED_OPTIONS= glib
PKG_SUGGESTED_OPTIONS= libnet10 glib
.include "../../mk/bsd.options.mk"
###
### libnet 1.0.x branch support
###
.if !empty(PKG_OPTIONS:Mlibnet10)
. include "../../devel/libnet10/buildlink3.mk"
BUILDLINK_DEPMETHOD.libnet10+= build
.endif
###
### libnet 1.1.x branch support
###
.if !empty(PKG_OPTIONS:Mlibnet11)
. include "../../devel/libnet11/buildlink3.mk"
BUILDLINK_DEPMETHOD.libnet11+= build
.endif
###
### glib support
###
.if !empty(PKG_OPTIONS:Mglib)
.include "../../devel/glib2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libglib
.endif
|