From f65459b65314c15ef17ec90204aeee2f177a028c Mon Sep 17 00:00:00 2001 From: Jon Johnson Date: Fri, 26 Jan 2024 14:53:26 -0800 Subject: [PATCH] Make libxml2-7 provide libxml2 (#1519) This confuses our solver logic. Signed-off-by: Jon Johnson --- Makefile | 4 ++-- libxml2-7.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ba7c120a9d..b2f56c8f9e 100644 --- a/Makefile +++ b/Makefile @@ -99,9 +99,9 @@ endef define get-source-dir $(info getting source dir for package $(3) with dir $(2)) $(1) := $(shell if [[ "." == "$(2)" ]]; then \ - echo "--source-dir ./$(3)"; \ + mdkir -p "./$(3)" && echo "--source-dir ./$(3)"; \ else \ - echo "--source-dir $(2)"; \ + mkdir -p "$(2)" && echo "--source-dir $(2)"; \ fi) endef diff --git a/libxml2-7.yaml b/libxml2-7.yaml index 452e156bcd..9d12830ec0 100644 --- a/libxml2-7.yaml +++ b/libxml2-7.yaml @@ -5,6 +5,9 @@ package: description: XML parsing library, version 2.7 copyright: - license: MIT + dependencies: + provides: + - libxml2=${{package.full-version}} environment: contents: