diff options
author | marino <marino@FreeBSD.org> | 2016-10-17 13:29:22 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-10-17 13:29:22 +0800 |
commit | ad6793ea71549bc09d3d33d57d72e6368e092656 (patch) | |
tree | f70f7ac7c73f0e213a07b6186c62de67fea1b20c /editors | |
parent | 5804a5baeb894bc4e2d2935d8c9e657c9e1cf441 (diff) | |
download | freebsd-ports-graphics-ad6793ea71549bc09d3d33d57d72e6368e092656.tar.gz freebsd-ports-graphics-ad6793ea71549bc09d3d33d57d72e6368e092656.tar.zst freebsd-ports-graphics-ad6793ea71549bc09d3d33d57d72e6368e092656.zip |
editors/mg: Use OPSYS with OSVERSION (restores DF build)
DragonFly doesn't provided reallocarray. OPSYS should be used with
OSVERSION (covered by a blanket)
Diffstat (limited to 'editors')
-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 0ee000386e2..5351db3a790 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: |