Sat Jan 27 02:09:27 2024 UTC (121d)
fonts/harfbuzz: Use REPLACE_TOOL_PYTHON, not REPLACE_PYTHON.

These scripts run at build-time; they don't get installed into the
package.


(riastradh)
diff -r1.44 -r1.45 pkgsrc/fonts/harfbuzz/Makefile.common

cvs diff -r1.44 -r1.45 pkgsrc/fonts/harfbuzz/Makefile.common (expand / switch to unified diff)

--- pkgsrc/fonts/harfbuzz/Makefile.common 2024/01/27 02:09:19 1.44
+++ pkgsrc/fonts/harfbuzz/Makefile.common 2024/01/27 02:09:27 1.45
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile.common,v 1.44 2024/01/27 02:09:19 riastradh Exp $ 1# $NetBSD: Makefile.common,v 1.45 2024/01/27 02:09:27 riastradh Exp $
2# used by fonts/harfbuzz-icu/Makefile 2# used by fonts/harfbuzz-icu/Makefile
3 3
4DISTNAME= harfbuzz-8.3.0 4DISTNAME= harfbuzz-8.3.0
5CATEGORIES= fonts 5CATEGORIES= fonts
6MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=harfbuzz/}
7GITHUB_RELEASE= ${PKGVERSION_NOREV} 7GITHUB_RELEASE= ${PKGVERSION_NOREV}
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://harfbuzz.github.io/ 11HOMEPAGE= https://harfbuzz.github.io/
12LICENSE= mit 12LICENSE= mit
13 13
14WRKSRC= ${WRKDIR}/${DISTNAME} 14WRKSRC= ${WRKDIR}/${DISTNAME}
@@ -63,25 +63,25 @@ MESON_ARGS+= -Dcoretext=disabled @@ -63,25 +63,25 @@ MESON_ARGS+= -Dcoretext=disabled
63# buggy. CTLineCreateWithAttributedString() seemingly fails when 63# buggy. CTLineCreateWithAttributedString() seemingly fails when
64# trying to use a font which isn't installed into the system standard 64# trying to use a font which isn't installed into the system standard
65# path. 65# path.
66# See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5 66# See http://forum.libcinder.org/topic/text-not-working-in-leopard-osx-10-5
67MESON_ARGS+= -Dcoretext=disabled 67MESON_ARGS+= -Dcoretext=disabled
68 68
69. else 69. else
70MESON_ARGS+= -Dcoretext=enabled 70MESON_ARGS+= -Dcoretext=enabled
71PLIST.coretext= yes 71PLIST.coretext= yes
72. endif 72. endif
73.endif 73.endif
74 74
75PYTHON_FOR_BUILD_ONLY= tool 75PYTHON_FOR_BUILD_ONLY= tool
76REPLACE_PYTHON+= src/*.py 76REPLACE_TOOL_PYTHON+= src/*.py
77PYTHON_VERSIONS_INCOMPATIBLE= 27 77PYTHON_VERSIONS_INCOMPATIBLE= 27
78 78
79.include "../../devel/meson/build.mk" 79.include "../../devel/meson/build.mk"
80.include "../../devel/zlib/buildlink3.mk" 80.include "../../devel/zlib/buildlink3.mk"
81.include "../../graphics/freetype2/buildlink3.mk" 81.include "../../graphics/freetype2/buildlink3.mk"
82.if ${LIBRSVG_TYPE} == "rust" 82.if ${LIBRSVG_TYPE} == "rust"
83# graphite2 support breaks graphics/librsvg-c 83# graphite2 support breaks graphics/librsvg-c
84.include "../../graphics/graphite2/buildlink3.mk" 84.include "../../graphics/graphite2/buildlink3.mk"
85.endif 85.endif
86.include "../../lang/python/application.mk" 86.include "../../lang/python/application.mk"
87.include "../../lang/python/tool.mk" 87.include "../../lang/python/tool.mk"