mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
Apply a bandaid to fix sporadic build failures on head.
This commit is contained in:
parent
5d738d3118
commit
ebc4531e78
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446286
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user