svn commit: r498595 - head/emulators/virtualbox-ose
Jung-uk Kim
jkim at FreeBSD.org
Wed Apr 10 20:47:25 UTC 2019
Author: jkim
Date: Wed Apr 10 20:47:24 2019
New Revision: 498595
URL: https://svnweb.freebsd.org/changeset/ports/498595
Log:
Apply a bandaid to work around runtime issues with Clang 8.0.
PR: 236616
Modified:
head/emulators/virtualbox-ose/Makefile
Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile Wed Apr 10 20:43:00 2019 (r498594)
+++ head/emulators/virtualbox-ose/Makefile Wed Apr 10 20:47:24 2019 (r498595)
@@ -3,7 +3,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.2.26
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= emulators
MASTER_SITES= https://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
@@ -199,6 +199,13 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER}
.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang
+.if ${COMPILER_VERSION} == 80
+# XXX PR236616: Clang 8.0 caused runtime problems.
+BUILD_DEPENDS+= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER}
+CC= ${LOCALBASE}/bin/clang${VBOX_LLVM_VER}
+CXX= ${LOCALBASE}/bin/clang++${VBOX_LLVM_VER}
+VBOX_LLVM_VER?= 60
+.endif
PATCH_DEPENDS+= ${LOCALBASE}/share/kBuild/tools/GXX3.kmk:devel/kBuild
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-Config.kmk \
${PATCHDIR}/extrapatch-src-VBox-Devices-PC-ipxe-Makefile.kmk \
More information about the svn-ports-all
mailing list