Lines 1-5
Link Here
|
1 |
PORTNAME= virtualbox-ose |
1 |
PORTNAME= virtualbox-ose |
2 |
PORTVERSION= 6.1.36 |
2 |
PORTVERSION= 6.1.44 |
3 |
PORTREVISION= 2 |
3 |
PORTREVISION= 2 |
4 |
CATEGORIES= emulators |
4 |
CATEGORIES= emulators |
5 |
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ |
5 |
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/ |
Lines 32-38
USE_GNOME= libidl libxml2
Link Here
|
32 |
|
32 |
|
33 |
HAS_CONFIGURE= yes |
33 |
HAS_CONFIGURE= yes |
34 |
CONFIGURE_ARGS= --disable-java --passive-mesa |
34 |
CONFIGURE_ARGS= --disable-java --passive-mesa |
35 |
CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" |
|
|
36 |
|
35 |
|
37 |
CONFLICTS_INSTALL= virtualbox-ose-additions-* \ |
36 |
CONFLICTS_INSTALL= virtualbox-ose-additions-* \ |
38 |
virtualbox-ose-devel \ |
37 |
virtualbox-ose-devel \ |
Lines 115-120
USE_RC_SUBR= vboxheadless vboxwatchdog
Link Here
|
115 |
|
114 |
|
116 |
.include <bsd.port.options.mk> |
115 |
.include <bsd.port.options.mk> |
117 |
|
116 |
|
|
|
117 |
# llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. |
118 |
# llvm15 builds but the executable throws error "VERR_INTERNAL_ERROR_3" |
119 |
# force llvm from ports to be between 11 and 14 |
120 |
USES+= llvm:min=11,max=14 |
121 |
|
118 |
.if ${SLAVE_PORT} == no |
122 |
.if ${SLAVE_PORT} == no |
119 |
CONFLICTS_INSTALL+= virtualbox-ose-nox11 |
123 |
CONFLICTS_INSTALL+= virtualbox-ose-nox11 |
120 |
OPTIONS_DEFAULT+= PYTHON |
124 |
OPTIONS_DEFAULT+= PYTHON |
Lines 212-227
KMK_FLAGS+= -j${MAKE_JOBS_NUMBER}
Link Here
|
212 |
.include <bsd.port.pre.mk> |
216 |
.include <bsd.port.pre.mk> |
213 |
|
217 |
|
214 |
.if ${CHOSEN_COMPILER_TYPE} == clang |
218 |
.if ${CHOSEN_COMPILER_TYPE} == clang |
215 |
# llvm10 in FreeBSD before r364284 miscompiles virtualbox 6.1 causing errors. |
219 |
CONFIGURE_ARGS+= --with-gcc="clang${LLVM_VERSION}" --with-g++="clang++${LLVM_VERSION}" |
216 |
# force llvm11 from ports |
|
|
217 |
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300109 |
218 |
BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} |
219 |
CC= clang${VBOX_LLVM_VER} |
220 |
CXX= clang++${VBOX_LLVM_VER} |
221 |
VBOX_LLVM_VER?= 11 |
222 |
.endif |
223 |
PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild |
220 |
PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild |
224 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk |
221 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk |
|
|
222 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src_VBox_Devices_PC_ipxe_src_core_settings.c |
223 |
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-src_VBox_Devices_PC_ipxe_src_net_tcp_httpcore.c |
224 |
.else |
225 |
CONFIGURE_ARGS+= --with-gcc="${CC}" --with-g++="${CXX}" |
225 |
.endif |
226 |
.endif |
226 |
|
227 |
|
227 |
.if ${PYTHON_MAJOR_VER} >= 3 |
228 |
.if ${PYTHON_MAJOR_VER} >= 3 |