Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2020 20:41:12 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r543922 - head/www/chromium
Message-ID:  <202008012041.071KfCGd063855@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Sat Aug  1 20:41:11 2020
New Revision: 543922
URL: https://svnweb.freebsd.org/changeset/ports/543922

Log:
  www/chromium: fix build when using Python 3.{x!=7} as default
  
  Submitted by:	kib (private mail)
  MFH:		2020Q3

Modified:
  head/www/chromium/Makefile

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Sat Aug  1 19:14:10 2020	(r543921)
+++ head/www/chromium/Makefile	Sat Aug  1 20:41:11 2020	(r543922)
@@ -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?202008012041.071KfCGd063855>