pkgsrc/net/libnids/options.mk
rillig eb3c2b436e net: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-03 11:45:28 +00:00

37 lines
767 B
Makefile

# $NetBSD: options.mk,v 1.9 2019/11/03 11:45:40 rillig 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