b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
23 lines
494 B
Makefile
23 lines
494 B
Makefile
# $NetBSD: options.mk,v 1.3 2005/12/05 20:50:56 rillig Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.honeyd
|
|
PKG_SUPPORTED_OPTIONS= python rrdtool
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
###
|
|
### Add python support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
|
. include "../../lang/python/extension.mk"
|
|
CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN:Q}
|
|
.else
|
|
CONFIGURE_ARGS+= --without-python
|
|
.endif
|
|
|
|
###
|
|
### Add RRDTool support
|
|
###
|
|
.if !empty(PKG_OPTIONS:Mrrdtool)
|
|
. include "../../databases/rrdtool/buildlink3.mk"
|
|
.endif
|