summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/mg/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/mg/Makefile b/editors/mg/Makefile
index 0ee000386e2a..5351db3a7908 100644
--- a/editors/mg/Makefile
+++ b/editors/mg/Makefile
@@ -19,11 +19,11 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1002506
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1002506
BROKEN= does not build, requires futimens system call
.endif
-.if ${OSVERSION} >= 1002506 && ${OSVERSION} < 1100072
+.if ${OPSYS} != FreeBSD || (${OSVERSION} >= 1002506 && ${OSVERSION} < 1100072)
EXTRA_PATCHES= ${FILESDIR}/extra-patch-def.h
post-patch: