Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz harfbuzz: Explicitly pass meson argumen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fb26403152b0
branches:  trunk
changeset: 437096:fb26403152b0
user:      leot <leot%pkgsrc.org@localhost>
date:      Sun Aug 16 10:40:16 2020 +0000

description:
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:

 fonts/harfbuzz/options.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r ce2c8b8f2190 -r fb26403152b0 fonts/harfbuzz/options.mk
--- a/fonts/harfbuzz/options.mk Sun Aug 16 08:36:28 2020 +0000
+++ b/fonts/harfbuzz/options.mk Sun Aug 16 10:40:16 2020 +0000
@@ -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 @@
 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)



Home | Main Index | Thread Index | Old Index