diff options
author | John Marino <marino@FreeBSD.org> | 2016-10-17 05:29:22 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-10-17 05:29:22 +0000 |
commit | f02adea702494d23db3f5db13a1b69e2befefbd9 (patch) | |
tree | f70f7ac7c73f0e213a07b6186c62de67fea1b20c /editors/mg | |
parent | security/certificate-transparency: add missing patch (diff) |
editors/mg: Use OPSYS with OSVERSION (restores DF build)
DragonFly doesn't provided reallocarray. OPSYS should be used with
OSVERSION (covered by a blanket)
Notes
Notes:
svn path=/head/; revision=424096
Diffstat (limited to 'editors/mg')
-rw-r--r-- | editors/mg/Makefile | 4 |
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: |