The `doc' option still had the issue that gtk-doc - if already installed - will be accidentally picked up also if the option was disabled. Be explicit in enabling/disabling it.
25 lines
541 B
Makefile
25 lines
541 B
Makefile
# $NetBSD: options.mk,v 1.8 2020/08/16 10:40:16 leot Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz
|
|
PKG_SUPPORTED_OPTIONS+= doc icu
|
|
PKG_SUGGESTED_OPTIONS= doc icu
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
PLIST_VARS+= doc icu
|
|
|
|
.if !empty(PKG_OPTIONS:Mdoc)
|
|
MESON_ARGS+= -Ddocs=enabled
|
|
.include "../../textproc/gtk-doc/buildlink3.mk"
|
|
PLIST.doc= yes
|
|
.else
|
|
MESON_ARGS+= -Ddocs=disabled
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Micu)
|
|
.include "../../textproc/icu/buildlink3.mk"
|
|
MESON_ARGS+= -Dicu=enabled
|
|
PLIST.icu= yes
|
|
.else
|
|
MESON_ARGS+= -Dicu=disabled
|
|
.endif
|