2018-05-31 23:00:23 +02:00
|
|
|
# $NetBSD: options.mk,v 1.2 2018/05/31 21:00:23 youri Exp $
|
2018-05-31 16:28:13 +02:00
|
|
|
|
2018-05-31 23:00:23 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.upower
|
2018-05-31 16:28:13 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= introspection
|
|
|
|
PKG_SUGGESTED_OPTIONS= introspection
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
PLIST_VARS+= introspection
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mintrospection)
|
|
|
|
BUILDLINK_DEPMETHOD.gobject-introspection+= build
|
|
|
|
.include "../../devel/gobject-introspection/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-introspection
|
|
|
|
PLIST.introspection= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-introspection
|
|
|
|
.endif
|