pkgsrc-Changes archive

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

CVS commit: pkgsrc/fonts/harfbuzz



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Aug 16 10:40:16 UTC 2020

Modified Files:
        pkgsrc/fonts/harfbuzz: options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/fonts/harfbuzz/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/fonts/harfbuzz/options.mk
diff -u pkgsrc/fonts/harfbuzz/options.mk:1.7 pkgsrc/fonts/harfbuzz/options.mk:1.8
--- pkgsrc/fonts/harfbuzz/options.mk:1.7        Sat Aug 15 21:48:34 2020
+++ pkgsrc/fonts/harfbuzz/options.mk    Sun Aug 16 10:40:16 2020
@@ -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)



Home | Main Index | Thread Index | Old Index