blob: e645dd09548ad04049048ef1c421db2832eb7536 (
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
|
# $NetBSD: options.mk,v 1.2 2005/05/31 10:01:39 dillo Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libnids
PKG_SUPPORTED_OPTIONS= libnet10 libnet11
PKG_SUGGESTED_OPTIONS= libnet10
.include "../../mk/bsd.options.mk"
###
### Can't support both versions of libnet
###
.if !empty(PKG_OPTIONS:Mlibnet10) && !empty(PKG_OPTIONS:Mlibnet11)
PKG_FAIL_REASON+= "libnet-1.0.x and libnet-1.1.x cannot both be selected." \
"This is due to the packages conflicting."
.endif
###
### libnet 1.0.x branch support
###
.if !empty(PKG_OPTIONS:Mlibnet10)
. include "../../devel/libnet/buildlink3.mk"
.endif
###
### libnet 1.1.x branch support
###
.if !empty(PKG_OPTIONS:Mlibnet11)
. include "../../devel/libnet11/buildlink3.mk"
.endif
|