f00b3dfe6c
* buildlink bin/libnet{10,11}-config to bin/libnet-config for comvenience (they ware renamed in pkgsrc to avoid conflict) * remove -lnet from BUILDLINK_CPPFLAGS.libnet11. linker flags should not be in CPPFLAGS, and it berak likage with libtool as reported in PR 37300. * libnet11 install just a static library, so set defaut DEPMETHOD = build Bump PKGREVISION for libnet11 related packages (net/isic will be updated later).
37 lines
765 B
Makefile
37 lines
765 B
Makefile
# $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
|