blob: 747cfc34bdc993b1cf7e637f15035c8fc3f3b0ca (
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
|
# $NetBSD: options.mk,v 1.6 2009/02/24 00:44:26 cube Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.libnids
PKG_OPTIONS_REQUIRED_GROUPS= libnet
PKG_OPTIONS_GROUP.libnet= libnet10 libnet11
PKG_SUGGESTED_OPTIONS= libnet10
.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
SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g"
.endif
###
### libnet 1.1.x branch support
###
.if !empty(PKG_OPTIONS:Mlibnet11)
. include "../../devel/libnet11/buildlink3.mk"
BUILDLINK_DEPMETHOD.libnet11+= build
SUBST_SED.conf= -e "s|libnet-config|libnet11-config|g"
.endif
|