Sun Feb 11 19:16:01 2024 UTC (126d)
pluma: restore TOOL_DEPENDS for libxml2

Revert part of r. 1.58 that was incorrect. This kind of dependency is
kept distinct to support cross-compilation.


(gutteridge)
diff -r1.58 -r1.59 pkgsrc/editors/pluma/Makefile

cvs diff -r1.58 -r1.59 pkgsrc/editors/pluma/Makefile (switch to unified diff)

--- pkgsrc/editors/pluma/Makefile 2024/02/11 18:20:27 1.58
+++ pkgsrc/editors/pluma/Makefile 2024/02/11 19:16:01 1.59
@@ -1,37 +1,38 @@ @@ -1,37 +1,38 @@
1# $NetBSD: Makefile,v 1.58 2024/02/11 18:20:27 triaxx Exp $ 1# $NetBSD: Makefile,v 1.59 2024/02/11 19:16:01 gutteridge Exp $
2 2
3PYTHON_VERSIONS_INCOMPATIBLE= 27 3PYTHON_VERSIONS_INCOMPATIBLE= 27
4 4
5PKGREVISION= 6 5PKGREVISION= 6
6.include "../../meta-pkgs/mate/Makefile.common" 6.include "../../meta-pkgs/mate/Makefile.common"
7 7
8DISTNAME= pluma-${VERSION:R}.1 8DISTNAME= pluma-${VERSION:R}.1
9CATEGORIES= editors 9CATEGORIES= editors
10 10
11COMMENT= Small and lightweight UTF-8 text editor for MATE 11COMMENT= Small and lightweight UTF-8 text editor for MATE
12 12
13USE_TOOLS+= bash:run perl 13USE_TOOLS+= bash:run perl
 14TOOL_DEPENDS+= libxml2-[0-9]*:../../textproc/libxml2 # for xmllint
14 15
15PKGCONFIG_OVERRIDE+= data/pluma.pc.in 16PKGCONFIG_OVERRIDE+= data/pluma.pc.in
16 17
17REPLACE_PYTHON+= plugins/externaltools/data/switch-c.tool.in 18REPLACE_PYTHON+= plugins/externaltools/data/switch-c.tool.in
18REPLACE_BASH+= plugins/externaltools/data/search-recursive.tool.in 19REPLACE_BASH+= plugins/externaltools/data/search-recursive.tool.in
19REPLACE_SH+= data/pluma-bugreport.sh.in \ 20REPLACE_SH+= data/pluma-bugreport.sh.in \
20 plugins/externaltools/data/build.tool.in \ 21 plugins/externaltools/data/build.tool.in \
21 plugins/externaltools/data/open-terminal-here.tool.in \ 22 plugins/externaltools/data/open-terminal-here.tool.in \
22 plugins/externaltools/data/remove-trailing-spaces.tool.in \ 23 plugins/externaltools/data/remove-trailing-spaces.tool.in \
23 plugins/externaltools/data/run-command.tool.in 24 plugins/externaltools/data/run-command.tool.in
24 25
25post-install: 26post-install:
26 find ${DESTDIR}${PREFIX} -type d -name __pycache__ | xargs rm -rf 27 find ${DESTDIR}${PREFIX} -type d -name __pycache__ | xargs rm -rf
27 28
28.include "options.mk" 29.include "options.mk"
29 30
30.include "../../devel/libpeas/buildlink3.mk" 31.include "../../devel/libpeas/buildlink3.mk"
31.include "../../devel/glib2/schemas.mk" 32.include "../../devel/glib2/schemas.mk"
32.include "../../lang/python/application.mk" 33.include "../../lang/python/application.mk"
33.include "../../x11/mate-desktop/buildlink3.mk" 34.include "../../x11/mate-desktop/buildlink3.mk"
34.include "../../x11/gtksourceview4/buildlink3.mk" 35.include "../../x11/gtksourceview4/buildlink3.mk"
35.include "../../sysutils/desktop-file-utils/desktopdb.mk" 36.include "../../sysutils/desktop-file-utils/desktopdb.mk"
36.include "../../textproc/libxml2/buildlink3.mk" 37.include "../../textproc/libxml2/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 38.include "../../mk/bsd.pkg.mk"