diff --git a/devel/m6811-gcc/Makefile b/devel/m6811-gcc/Makefile index 34dbee10e0db..ed638e29df28 100644 --- a/devel/m6811-gcc/Makefile +++ b/devel/m6811-gcc/Makefile @@ -41,9 +41,15 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --target=m6811-elf \ MAN1= m6811-elf-g++.1 m6811-elf-g77.1 m6811-elf-gcc.1 cccp.1 +.include + +.if ${OSVERSION} >= 502126 +BROKEN= "Does not compile on FreeBSD >= 5.x" +.endif + post-patch: @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed ${SED} -e "s/TARGET_CONFIGDIRS = libiberty/TARGET_CONFIGDIRS =/" \ ${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in -.include +.include