diff --git a/srcpkgs/mozjs102/template b/srcpkgs/mozjs102/template index 8f8cda6bdce..04050f47c1f 100644 --- a/srcpkgs/mozjs102/template +++ b/srcpkgs/mozjs102/template @@ -47,14 +47,13 @@ pre_configure() { sh ../../build/autoconf/autoconf.sh configure.in > configure chmod 0755 configure - local _sitedir=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])') rm -rf ${wrksrc}/third_party/python/six mkdir ${wrksrc}/third_party/python/six - ln -s ${_sitedir}/six.py ${wrksrc}/third_party/python/six + ln -s /${py3_sitelib}/six.py ${wrksrc}/third_party/python/six rm -rf ${wrksrc}/third_party/python/looseversion mkdir ${wrksrc}/third_party/python/looseversion - ln -s ${_sitedir}/looseversion/__init__.py ${wrksrc}/third_party/python/looseversion/looseversion.py + ln -s /${py3_sitelib}/looseversion/__init__.py ${wrksrc}/third_party/python/looseversion/looseversion.py echo "vendored:third_party/python/looseversion" >> ${wrksrc}/python/sites/mach.txt }