2009-12-09 13:27:27 +01:00
|
|
|
# $NetBSD: options.mk,v 1.8 2009/12/09 12:27:28 obache Exp $
|
2005-04-06 00:13:29 +02:00
|
|
|
|
2009-02-24 01:42:29 +01:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libnids
|
2009-05-06 23:54:54 +02:00
|
|
|
|
2009-02-24 01:42:29 +01:00
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= libnet
|
|
|
|
PKG_OPTIONS_GROUP.libnet= libnet10 libnet11
|
2009-05-06 23:54:54 +02:00
|
|
|
|
|
|
|
PKG_SUPPORTED_OPTIONS= glib
|
|
|
|
|
|
|
|
PKG_SUGGESTED_OPTIONS= libnet10 glib
|
2005-04-06 00:13:29 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### libnet 1.0.x branch support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibnet10)
|
2007-02-18 19:53:10 +01:00
|
|
|
. include "../../devel/libnet10/buildlink3.mk"
|
2009-02-24 01:44:26 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libnet10+= build
|
2005-04-06 00:13:29 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### libnet 1.1.x branch support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibnet11)
|
|
|
|
. include "../../devel/libnet11/buildlink3.mk"
|
2009-02-24 01:44:26 +01:00
|
|
|
BUILDLINK_DEPMETHOD.libnet11+= build
|
2005-04-06 00:13:29 +02:00
|
|
|
.endif
|
2009-05-06 23:54:54 +02:00
|
|
|
|
|
|
|
###
|
|
|
|
### glib support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mglib)
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-libglib
|
|
|
|
.endif
|