diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild (renamed from dev-util/gtk-doc/gtk-doc-1.33.1.ebuild) | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/gtk-doc/gtk-doc-1.33.1.ebuild b/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild index 793aed977cca..c0e8bf251f98 100644 --- a/dev-util/gtk-doc/gtk-doc-1.33.1.ebuild +++ b/dev-util/gtk-doc/gtk-doc-1.33.1-r1.ebuild @@ -80,7 +80,10 @@ src_compile() { src_install() { meson_src_install - python_fix_shebang "${ED}"/usr/bin/gtkdoc-depscan + # The meson build system configures the shebangs to the temporary python + # used during the build. We need to fix it. + sed -i -e 's:^#!.*:#!/usr/bin/env python3:' "${ED}"/usr/bin/* || die + python_fix_shebang "${ED}"/usr/bin/* if use emacs; then elisp-install ${PN} tools/gtk-doc.el* |