summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-08-09 00:53:12 +0000
committerjoerg <joerg@pkgsrc.org>2020-08-09 00:53:12 +0000
commit89665054a7626e38453ed789e1b9f6b27bcb8011 (patch)
tree6f9ecb77f1d40cb00f98c4b7f338059447f62939 /fonts
parent2ad5ccba63752a0c79630992e55c05ff45a7c221 (diff)
downloadpkgsrc-89665054a7626e38453ed789e1b9f6b27bcb8011.tar.gz
Fix ICU option. Disable benchmarking as it requires git and external
downloads. Require gtk-doc for documentation to match PLIST.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/harfbuzz/Makefile5
-rw-r--r--fonts/harfbuzz/options.mk3
2 files changed, 6 insertions, 2 deletions
diff --git a/fonts/harfbuzz/Makefile b/fonts/harfbuzz/Makefile
index a3902d6a620..b1444b3c583 100644
--- a/fonts/harfbuzz/Makefile
+++ b/fonts/harfbuzz/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.131 2020/08/08 19:11:13 nia Exp $
+# $NetBSD: Makefile,v 1.132 2020/08/09 00:53:12 joerg Exp $
DISTNAME= harfbuzz-2.7.0
CATEGORIES= fonts
@@ -24,6 +24,7 @@ MESON_ARGS+= -Dcairo=disabled
MESON_ARGS+= -Dfontconfig=disabled
MESON_ARGS+= -Dintrospection=disabled
+MESON_ARGS+= -Dbenchmark=disabled
PLIST_VARS+= graphite2
.if ${LIBRSVG_TYPE} == "rust"
@@ -66,6 +67,7 @@ PLIST.coretext= yes
.endif
PYTHON_FOR_BUILD_ONLY= tool
+REPLACE_PYTHON+= src/*.py
.include "../../devel/meson/build.mk"
.include "../../devel/glib2/buildlink3.mk"
@@ -77,4 +79,5 @@ PYTHON_FOR_BUILD_ONLY= tool
# graphite2 support breaks graphics/librsvg-c
.include "../../graphics/graphite2/buildlink3.mk"
.endif
+.include "../../textproc/gtk-doc/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/fonts/harfbuzz/options.mk b/fonts/harfbuzz/options.mk
index acd9d9066d2..97a66a4d610 100644
--- a/fonts/harfbuzz/options.mk
+++ b/fonts/harfbuzz/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2020/08/08 19:11:13 nia Exp $
+# $NetBSD: options.mk,v 1.6 2020/08/09 00:53:12 joerg Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.harfbuzz
PKG_SUPPORTED_OPTIONS+= icu
@@ -11,6 +11,7 @@ PLIST_VARS+= icu
.if !empty(PKG_OPTIONS:Micu)
.include "../../textproc/icu/buildlink3.mk"
MESON_ARGS+= -Dicu=enabled
+PLIST.icu= yes
.else
MESON_ARGS+= -Dicu=disabled
.endif