8560be0ed3
Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
14 lines
317 B
Makefile
14 lines
317 B
Makefile
# $NetBSD: options.mk,v 1.2 2023/06/06 12:41:34 riastradh Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.libpgf
|
|
PKG_SUPPORTED_OPTIONS= doc
|
|
|
|
PLIST_VARS+= doc
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
TOOL_DEPENDS+= doxygen>=1.8.7:../../devel/doxygen
|
|
PLIST.doc= yes
|
|
CONFIGURE_ARGS+= --enable-doc
|
|
.endif
|