Date: Sun, 2 Aug 2020 18:38:43 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r543990 - branches/2020Q3/www/chromium Message-ID: <202008021838.072Ich7A078367@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Sun Aug 2 18:38:42 2020 New Revision: 543990 URL: https://svnweb.freebsd.org/changeset/ports/543990 Log: MFH: r543922 www/chromium: fix build when using Python 3.{x!=7} as default Submitted by: kib (private mail) Approved by: ports-secteam (joneum) Modified: branches/2020Q3/www/chromium/Makefile Directory Properties: branches/2020Q3/ (props changed) Modified: branches/2020Q3/www/chromium/Makefile ============================================================================== --- branches/2020Q3/www/chromium/Makefile Sun Aug 2 18:30:55 2020 (r543989) +++ branches/2020Q3/www/chromium/Makefile Sun Aug 2 18:38:42 2020 (r543990) @@ -256,12 +256,12 @@ pre-configure: ./build/linux/unbundle/replace_gn_files.py --system-libraries \ ffmpeg flac fontconfig freetype harfbuzz-ng libdrm libpng libwebp libxml libxslt openh264 opus snappy || ${FALSE} - # We need the site package from xcbgen, which installs as python3.7 (really: default version), while the chromium + # We need the site package from xcbgen, which installs as python3.x (really: default version), while the chromium # build still needs to use python2.7. It works, because xcbgen can run with both versions, but we want to avoid - # having the pre-compiled pyc files from 2.7 in the 3.7 site packages + # having the pre-compiled pyc files from 2.7 in the 3.x site packages # Remove this as soon as chromium uses python3.x as well @${MKDIR} ${WRKDIR}/site-packages/xcbgen - ${CP} ${PYTHONBASE}/lib/python3.7/site-packages/xcbgen/*.py \ + ${CP} ${PYTHONBASE}/lib/python${PYTHON_DEFAULT}/site-packages/xcbgen/*.py \ ${WRKDIR}/site-packages/xcbgen .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008021838.072Ich7A078367>