Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 11:46:58 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475363 - head/emulators/virtualbox-ose
Message-ID:  <201807261146.w6QBkwoY068926@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807261146.w6QBkwoY068926>