svn commit: r475363 - head/emulators/virtualbox-ose

Tobias Kortkamp tobik at FreeBSD.org
Thu Jul 26 11:46:59 UTC 2018


Author: tobik
Date: Thu Jul 26 11:46:58 2018
New Revision: 475363
URL: https://svnweb.freebsd.org/changeset/ports/475363

Log:
  emulators/virtualbox-ose: Fix build when using 3.? as default Python
  
  When using DEFAULT_VERSIONS=python=3.6 or similar the build fails
  with
  
  kBuild: Generating python - .../out/freebsd.amd64/release/obj/VBoxOGLgen/spu_dispatch_table.h
  kmk_builtin_redirect: posix_spawnp(python-not-found) failed: No such file or directory
  
  Explicitly use Python 2.7 for the time being to fix the build.
  
  PR:		225734
  Submitted by:	Peter Wullinger <freebsd at dhke.de>
  Approved by:	vbox (maintainer timeout, 5 months+)

Modified:
  head/emulators/virtualbox-ose/Makefile

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Thu Jul 26 11:29:31 2018	(r475362)
+++ head/emulators/virtualbox-ose/Makefile	Thu Jul 26 11:46:58 2018	(r475363)
@@ -146,12 +146,12 @@ USE_TEX=	dvipsk:build formats:build
 .endif
 
 .if ${PORT_OPTIONS:MPYTHON}
-USES+=		python
+USES+=		python:2.7
 USE_PYTHON=	distutils noegginfo noflavors
 PYDISTUTILS_PKGNAME=	vboxapi
 PYDISTUTILS_PKGVERSION=	1.0
 .else
-USES+=		python:build
+USES+=		python:2.7,build
 .endif
 
 .if ${PORT_OPTIONS:MQT5}


More information about the svn-ports-all mailing list