diff options
author | adrianp <adrianp@pkgsrc.org> | 2009-05-06 21:54:54 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2009-05-06 21:54:54 +0000 |
commit | 7d5eeee4e957c33abeb806433b14bb22cc89f29d (patch) | |
tree | a8d5f19053da04d61bb5fbc56e2e5ba19097cda4 /net/libnids/options.mk | |
parent | 276a0e6ecd516cbd1f3780065a1430b44e7a7f09 (diff) | |
download | pkgsrc-7d5eeee4e957c33abeb806433b14bb22cc89f29d.tar.gz |
Allow glib to be disabled
It's still enabled by default so no PKGREVISION bump
Diffstat (limited to 'net/libnids/options.mk')
-rw-r--r-- | net/libnids/options.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/net/libnids/options.mk b/net/libnids/options.mk index 747cfc34bdc..1515dcdfeb2 100644 --- a/net/libnids/options.mk +++ b/net/libnids/options.mk @@ -1,9 +1,13 @@ -# $NetBSD: options.mk,v 1.6 2009/02/24 00:44:26 cube Exp $ +# $NetBSD: options.mk,v 1.7 2009/05/06 21:54:54 adrianp Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.libnids + PKG_OPTIONS_REQUIRED_GROUPS= libnet PKG_OPTIONS_GROUP.libnet= libnet10 libnet11 -PKG_SUGGESTED_OPTIONS= libnet10 + +PKG_SUPPORTED_OPTIONS= glib + +PKG_SUGGESTED_OPTIONS= libnet10 glib .include "../../mk/bsd.options.mk" @@ -24,3 +28,12 @@ SUBST_SED.conf= -e "s|libnet-config|libnet10-config|g" BUILDLINK_DEPMETHOD.libnet11+= build SUBST_SED.conf= -e "s|libnet-config|libnet11-config|g" .endif + +### +### glib support +### +.if !empty(PKG_OPTIONS:Mglib) +.include "../../devel/glib2/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-libglib +.endif |