ports/devel/gobject-introspection/files/patch-tools_meson.build
Baptiste Daroussin 893e2c1fdd Updtae to 1.66.0
This was also submitted by swills in PR 249341

PR:		249341
2020-09-27 19:21:41 +00:00

15 lines
419 B
Text

--- tools/meson.build.orig 2020-09-12 17:25:46 UTC
+++ tools/meson.build
@@ -9,11 +9,7 @@ if with_doctool
tools += [['g-ir-doc-tool', 'docmain', 'doc_main']]
endif
-if cc.get_id() == 'msvc'
- python_cmd = '/usr/bin/env ' + python.path()
-else
- python_cmd = '/usr/bin/env python@0@'.format(python.language_version().split('.')[0])
-endif
+python_cmd = '%%PYTHON_CMD%%'
tool_output = []
foreach tool : tools