diff --git a/py-yaml/depend.mk b/py-yaml/depend.mk index 7626caa40cb8bbed2cc8ec1b7566a2a81be7e620..3b1b73f73f2209ab5cfb0a6d654bb5695413da99 100644 --- a/py-yaml/depend.mk +++ b/py-yaml/depend.mk @@ -8,10 +8,16 @@ endif ifeq (+,$(PYYAML_DEPEND_MK)) # ----------------------------------------------- -PREFER.py-yaml?= robotpkg - DEPEND_USE+= py-yaml -DEPEND_ABI.py-yaml?= ${PKGTAG.python-}yaml>=3.10 + +PREFER.py-yaml?= system +ifeq (Ubuntu,${OPSYS}) + ifneq (,$(filter 12.04,${OS_VERSION})) + PREFER.py-yaml?= robotpkg + endif +endif + +DEPEND_ABI.py-yaml?= ${PKGTAG.python-}yaml>=3 DEPEND_DIR.py-yaml?= ../../wip/py-yaml SYSTEM_SEARCH.py-yaml=\