Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/harfbuzz Fix ICU option. Disable benchmarking as...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e54df4bb9564
branches:  trunk
changeset: 436762:e54df4bb9564
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Aug 09 00:53:12 2020 +0000

description:
Fix ICU option. Disable benchmarking as it requires git and external
downloads. Require gtk-doc for documentation to match PLIST.

diffstat:

 fonts/harfbuzz/Makefile   |  5 ++++-
 fonts/harfbuzz/options.mk |  3 ++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 1ec8c97577e5 -r e54df4bb9564 fonts/harfbuzz/Makefile
--- a/fonts/harfbuzz/Makefile   Sun Aug 09 00:01:09 2020 +0000
+++ b/fonts/harfbuzz/Makefile   Sun Aug 09 00:53:12 2020 +0000
@@ -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+=   -Dfontconfig=disabled
 
 MESON_ARGS+=   -Dintrospection=disabled
+MESON_ARGS+=   -Dbenchmark=disabled
 
 PLIST_VARS+=           graphite2
 .if ${LIBRSVG_TYPE} == "rust"
@@ -66,6 +67,7 @@
 .endif
 
 PYTHON_FOR_BUILD_ONLY= tool
+REPLACE_PYTHON+=       src/*.py
 
 .include "../../devel/meson/build.mk"
 .include "../../devel/glib2/buildlink3.mk"
@@ -77,4 +79,5 @@
 # graphite2 support breaks graphics/librsvg-c
 .include "../../graphics/graphite2/buildlink3.mk"
 .endif
+.include "../../textproc/gtk-doc/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1ec8c97577e5 -r e54df4bb9564 fonts/harfbuzz/options.mk
--- a/fonts/harfbuzz/options.mk Sun Aug 09 00:01:09 2020 +0000
+++ b/fonts/harfbuzz/options.mk Sun Aug 09 00:53:12 2020 +0000
@@ -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 @@
 .if !empty(PKG_OPTIONS:Micu)
 .include "../../textproc/icu/buildlink3.mk"
 MESON_ARGS+=   -Dicu=enabled
+PLIST.icu=             yes
 .else
 MESON_ARGS+=   -Dicu=disabled
 .endif



Home | Main Index | Thread Index | Old Index