summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-08-16 10:40:16 +0000
committerleot <leot@pkgsrc.org>2020-08-16 10:40:16 +0000
commit4c084c82bcdb726c0b82a975e1401a65f63a4fa6 (patch)
tree201e05b895703cbaf374b4517b140a97b82a7d6c /fonts
parent25dfc2ec6d3921db4910884e07fe7c1bda17af0a (diff)
downloadpkgsrc-4c084c82bcdb726c0b82a975e1401a65f63a4fa6.tar.gz
harfbuzz: Explicitly pass meson arguments to enable/disable documentation
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.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/fonts/harfbuzz/options.mk b/fonts/harfbuzz/options.mk
index ff9ac813d8b..b6efb38e520 100644
--- a/fonts/harfbuzz/options.mk
+++ b/fonts/harfbuzz/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2020/08/15 21:48:34 szptvlfn Exp $
+# $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
@@ -9,8 +9,11 @@ PKG_SUGGESTED_OPTIONS= doc icu
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)