diff options
author | leot <leot@pkgsrc.org> | 2020-08-16 10:40:16 +0000 |
---|---|---|
committer | leot <leot@pkgsrc.org> | 2020-08-16 10:40:16 +0000 |
commit | 4c084c82bcdb726c0b82a975e1401a65f63a4fa6 (patch) | |
tree | 201e05b895703cbaf374b4517b140a97b82a7d6c | |
parent | 25dfc2ec6d3921db4910884e07fe7c1bda17af0a (diff) | |
download | pkgsrc-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.
-rw-r--r-- | fonts/harfbuzz/options.mk | 5 |
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) |