From f02adea702494d23db3f5db13a1b69e2befefbd9 Mon Sep 17 00:00:00 2001 From: John Marino Date: Mon, 17 Oct 2016 05:29:22 +0000 Subject: editors/mg: Use OPSYS with OSVERSION (restores DF build) DragonFly doesn't provided reallocarray. OPSYS should be used with OSVERSION (covered by a blanket) --- editors/mg/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editors/mg') 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 -.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: -- cgit v1.2.3