diff options
author | Florian Franzmann | 2022-05-22 19:13:57 +0200 |
---|---|---|
committer | Florian Franzmann | 2022-05-23 18:01:26 +0200 |
commit | 4fd7f0824f2174dc3fb0f72da17120538b8fdb2c (patch) | |
tree | 3c3804d4b3c4ffda21bbf080e42509930bb69ffe | |
parent | a51325a135c9e31009174482d57811aecc72e1d1 (diff) |
libs/libxml2: fix PYTHON subdependency
-rw-r--r-- | libs/libxml2/HISTORY | 3 | ||||
-rwxr-xr-x | libs/libxml2/PRE_SUB_DEPENDS | 2 | ||||
-rwxr-xr-x | libs/libxml2/SUB_DEPENDS | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/libs/libxml2/HISTORY b/libs/libxml2/HISTORY index a690b51aec..535370ea13 100644 --- a/libs/libxml2/HISTORY +++ b/libs/libxml2/HISTORY @@ -1,3 +1,6 @@ +2022-05-22 Florian Franzmann <bwlf@bandrate.org> + * SUB_DEPENDS, PRE_SUB_DEPENDS: fix PYTHON sub dependency + 2022-05-06 Florian Franzmann <bwlf@bandrate.org> * DETAILS: version 2.9.14, SECURITY_PATCH++, fixes CVE-2022-29824 diff --git a/libs/libxml2/PRE_SUB_DEPENDS b/libs/libxml2/PRE_SUB_DEPENDS index f7fa8d72f0..6a3256888c 100755 --- a/libs/libxml2/PRE_SUB_DEPENDS +++ b/libs/libxml2/PRE_SUB_DEPENDS @@ -1,5 +1,5 @@ case $THIS_SUB_DEPENDS in - PYTHON) is_depends_enabled $SPELL python || is_depends_enabled $SPELL python3;; + PYTHON) is_depends_enabled $SPELL python3;; *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" && return 1;; esac diff --git a/libs/libxml2/SUB_DEPENDS b/libs/libxml2/SUB_DEPENDS index a8511d1a9c..3bd1fdfa24 100755 --- a/libs/libxml2/SUB_DEPENDS +++ b/libs/libxml2/SUB_DEPENDS @@ -1,6 +1,6 @@ case $THIS_SUB_DEPENDS in PYTHON) message "python bindings requested, forcing them" && - depends PYTHON "--with-python";; + depends python3 "--with-python";; *) message "${PROBLEM_COLOR}bogus sub_depends: $SPELL $THIS_SUB_DEPENDS${DEFAULT_COLOR}" && return 1;; esac |