commit:     69a1299b8fd77d253927394e3f9921822f223a34
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 29 16:47:18 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 29 16:49:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69a1299b

dev-python/wxpython: Do not hardcode the path to doxygen

Closes: https://bugs.gentoo.org/911925
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/wxpython/wxpython-4.2.0.ebuild | 2 +-
 dev-python/wxpython/wxpython-4.2.1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/wxpython/wxpython-4.2.0.ebuild 
b/dev-python/wxpython/wxpython-4.2.0.ebuild
index 7488b0c5e8dd..4421e79995df 100644
--- a/dev-python/wxpython/wxpython-4.2.0.ebuild
+++ b/dev-python/wxpython/wxpython-4.2.0.ebuild
@@ -78,7 +78,7 @@ src_configure() {
 }
 
 python_compile() {
-       DOXYGEN=/usr/bin/doxygen ${PYTHON} build.py dox etg --nodoc || die
+       DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg --nodoc || die
 
        # Refresh the bundled/pregenerated sip files
        ${PYTHON} build.py sip || die

diff --git a/dev-python/wxpython/wxpython-4.2.1.ebuild 
b/dev-python/wxpython/wxpython-4.2.1.ebuild
index a609da43141e..db600927b5be 100644
--- a/dev-python/wxpython/wxpython-4.2.1.ebuild
+++ b/dev-python/wxpython/wxpython-4.2.1.ebuild
@@ -71,7 +71,7 @@ src_configure() {
 }
 
 python_compile() {
-       DOXYGEN=/usr/bin/doxygen ${PYTHON} build.py dox etg --nodoc || die
+       DOXYGEN="$(type -P doxygen)" ${PYTHON} build.py dox etg --nodoc || die
 
        # Refresh the bundled/pregenerated sip files
        "${EPYTHON}" build.py sip || die

Reply via email to