1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Fix build with OPENGL option when using 3.x as default Python.

Note the same problem in emulators/virtualbox-ose was fixed in r475363.

Reported by:	fluffy
This commit is contained in:
Jung-uk Kim 2019-11-12 23:27:23 +00:00
parent 08886aa56e
commit 88a7e873c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517354

View File

@ -3,6 +3,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.34
PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= https://download.oracle.com/virtualbox/${PORTVERSION}/
PKGNAMESUFFIX?= -additions
@ -15,7 +16,7 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
ONLY_FOR_ARCHS= amd64 i386
USES= compiler:c++11-lang cpe iconv kmod python:build tar:bzip2
USES= compiler:c++11-lang cpe iconv kmod tar:bzip2
USE_RC_SUBR= vboxguest vboxservice
BUILD_DEPENDS= yasm:devel/yasm \
@ -60,7 +61,7 @@ DEBUG_VARS_OFF= KMK_BUILDTYPE=release
OPENGL_CONFIGURE_OFF= --disable-opengl
OPENGL_IMPLIES= X11
OPENGL_USE= GL=gl,glu XORG=xcomposite,xdamage,xfixes
OPENGL_USES= gl xorg
OPENGL_USES= gl python:2.7,build xorg
X11_BUILD_DEPENDS= ${LOCALBASE}/include/xorg/compiler.h:x11-servers/xorg-server
X11_RUN_DEPENDS= xrandr:x11/xrandr
X11_USE= XORG=x11,xcursor,xext,xorgproto,xmu,xrandr,xt