git: 82f1cf482b20 - main - devel/hare: mark broken on FreeBSD-12 and earlier

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Thu, 09 Feb 2023 15:41:26 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82f1cf482b20fac67add108917ad9d89a3996925

commit 82f1cf482b20fac67add108917ad9d89a3996925
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-02-09 15:34:11 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-02-09 15:41:10 +0000

    devel/hare: mark broken on FreeBSD-12 and earlier
    
    The assembler in FreeBSD-12 (and older) does not accept all command
    formats generated by hare.
---
 devel/hare/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/devel/hare/Makefile b/devel/hare/Makefile
index eb21e9b24590..91a481c327b7 100644
--- a/devel/hare/Makefile
+++ b/devel/hare/Makefile
@@ -29,6 +29,10 @@ OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.pre.mk>
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300000
+BROKEN=		pre-FreeBSD-13 assembler is not compatible with generated files
+.endif
+
 do-build:
 		${CP} ${FILESDIR}/config.mk ${WRKSRC}
 		cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS}