use a different method to force using the bundled mcs.exe for bootstrapping

to avoid random build failures in fake
This commit is contained in:
robert 2011-06-05 15:16:48 +00:00
parent b26108add7
commit d75e3af324

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.60 2011/06/04 11:17:08 robert Exp $
# $OpenBSD: Makefile,v 1.61 2011/06/05 15:16:48 robert Exp $
COMMENT= cross platform, open source .NET developement framework
@ -40,8 +40,6 @@ USE_GROFF = Yes
SUBST_VARS= LIBTOOL
MAKE_FLAGS= EXTERNAL_MCS=false
BUILD_DEPENDS= devel/bison \
${RUN_DEPENDS}
RUN_DEPENDS= x11/libgdiplus
@ -93,4 +91,9 @@ pre-configure:
perl -pi -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/$${i}; \
done
# Force using the internal mcs compiler
pre-build:
@mkdir ${WRKSRC}/mcs/build/deps
@touch ${WRKSRC}/mcs/build/deps/use-monolite
.include <bsd.port.mk>