e17279a2f2
The Open IPMI project aims to develop an open code base to allow access to platform information using Intelligent Platform Management Interface (IPMI).
40 lines
986 B
Makefile
40 lines
986 B
Makefile
# $NetBSD: options.mk,v 1.1 2020/11/03 20:55:34 otis Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.openipmi
|
|
PKG_SUPPORTED_OPTIONS= perl python snmp swig
|
|
PKG_SUGGESTED_OPTIONS= perl python snmp swig
|
|
|
|
PLIST_VARS+= perl python
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
|
CONFIGURE_ARGS+= --with-perl=${PERl5}
|
|
.include "../../lang/perl5/buildlink3.mk"
|
|
PLIST.perl= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --with-perl=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
|
|
.include "../../lang/python/pyversion.mk"
|
|
PLIST.python= yes
|
|
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
|
|
.else
|
|
CONFIGURE_ARGS+= --with-python=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Msnmp)
|
|
CONFIGURE_ARGS+= --with-ucdsnmp=${PREFIX}
|
|
.include "../../net/net-snmp/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-ucdsnmp=no
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mswig)
|
|
CONFIGURE_ARGS+= --with-swig=${PREFIX}/bin/swig3.0
|
|
.include "../../devel/swig3/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-swig=no
|
|
.endif
|