Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2017 19:05:49 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r446286 - head/emulators/virtualbox-ose
Message-ID:  <201707201905.v6KJ5nWx081662@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Jul 20 19:05:49 2017
New Revision: 446286
URL: https://svnweb.freebsd.org/changeset/ports/446286

Log:
  Apply a bandaid to fix sporadic build failures on head.

Modified:
  head/emulators/virtualbox-ose/Makefile

Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile	Thu Jul 20 18:33:46 2017	(r446285)
+++ head/emulators/virtualbox-ose/Makefile	Thu Jul 20 19:05:49 2017	(r446286)
@@ -107,6 +107,10 @@ USE_RC_SUBR=	vboxheadless vboxwatchdog
 
 .include <bsd.port.options.mk>
 
+.if ${OPSYS}${OSREL:R} == FreeBSD12
+BUILD_DEPENDS+=	${LOCALBASE}/bin/ar:devel/binutils
+.endif
+
 .if ${SLAVE_PORT} == no
 CONFLICTS_INSTALL+=	virtualbox-ose-nox11-[0-9]*
 OPTIONS_DEFAULT+=	PYTHON
@@ -315,6 +319,10 @@ post-patch:
 	@${SED} -e 's|GXX3|VBoxGccFreeBSD|g' \
 	    ${LOCALBASE}/share/kBuild/tools/GXX3.kmk > \
 	    ${WRKSRC}/tools/kBuildTools/VBoxGccFreeBSD.kmk
+.endif
+.if ${OPSYS}${OSREL:R} == FreeBSD12
+	@${ECHO} 'TOOL_GXX3_AR = ${LOCALBASE}/bin/ar' >> \
+	    ${WRKSRC}/LocalConfig.kmk
 .endif
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
 	    ${WRKSRC}/Config.kmk ${WRKSRC}/configure \



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