From 35056b5bedbf47dd3a77a1d4fe45935682f8dcdd Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Wed, 1 Apr 2015 20:35:16 +0000 Subject: [PATCH] Cannot rely on our outdated in-base Gcc. --- editors/mined/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/editors/mined/Makefile b/editors/mined/Makefile index 13e5c23303b5..befeff8cd273 100644 --- a/editors/mined/Makefile +++ b/editors/mined/Makefile @@ -26,6 +26,12 @@ PRFX2FIX= src/makefile.bsd usrshare/conf_user/xinitrc.mined \ src/minedaux.c man/mined.1 src/mkinclud.mak \ src/makefile.gcc +.include + +.if ${OPSYS} == "FreeBSD" && ${OSVERSION} < 1000000 +USE_GCC= yes +.endif + pre-configure: .for FILE in ${PRFX2FIX} ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/${FILE} @@ -49,4 +55,4 @@ post-install: @${RM} -rf ${STAGEDIR}${DOCSDIR}/CHANGES ${STAGEDIR}${DOCSDIR}/LICENCE.GPL @${RM} -rf ${STAGEDIR}${DATADIR}/doc_user ${STAGEDIR}${DATADIR}/package_doc -.include +.include