From 1d8f6305a4525d3b6a0812287a358896212874d7 Mon Sep 17 00:00:00 2001
From: Guilhem Saurel <guilhem.saurel@laas.fr>
Date: Tue, 12 May 2020 18:18:41 +0200
Subject: [PATCH] [wip/py-scs] fix SYSTEM_SEARCH & install

---
 py-scs/Makefile  | 1 +
 py-scs/depend.mk | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/py-scs/Makefile b/py-scs/Makefile
index 89eb6868..2b319eda 100644
--- a/py-scs/Makefile
+++ b/py-scs/Makefile
@@ -18,6 +18,7 @@ LICENSE=		mit
 MAINTAINER=		gsaurel@laas.fr
 
 PYDISTUTILSPKG=		yes
+PYSETUPINSTALLARGS+=	--single-version-externally-managed --root=/
 MAKE_ENV+=		PYTHONPATH=${PREFIX}/${PYTHON_SITELIB}
 
 include ../../mk/sysdep/python.mk
diff --git a/py-scs/depend.mk b/py-scs/depend.mk
index 35e0c6fc..c5a00cfd 100644
--- a/py-scs/depend.mk
+++ b/py-scs/depend.mk
@@ -21,7 +21,7 @@ DEPEND_ABI.py-scs?=		${PKGTAG.python-}scs>=2.1.2
 DEPEND_DIR.py-scs?=		../../wip/py-scs
 
 SYSTEM_SEARCH.py-scs=	\
-  '${PYTHON_SITELIB}/scs*.egg'
+  '${PYTHON_SYSLIBSEARCH}/scs*.egg'
 
 endif # PY_SCS_DEPEND_MK ----------------------------------------------
 
-- 
GitLab